mirror of
https://github.com/opnsense/src.git
synced 2026-03-24 19:53:08 -04:00
MFC r199193 to stable/8:
- Remove trailing ";" after if statement - Remove #if 0 section that was never needed/used Reviewed by: raj@
This commit is contained in:
parent
a329f4db8a
commit
59cdac432f
1 changed files with 1 additions and 6 deletions
|
|
@ -467,7 +467,7 @@ ub_stor_type(int type)
|
|||
if (type & DT_STOR_USB)
|
||||
return ("USB");
|
||||
|
||||
if (type & DT_STOR_MMC);
|
||||
if (type & DT_STOR_MMC)
|
||||
return ("MMC");
|
||||
|
||||
return ("Unknown");
|
||||
|
|
@ -581,11 +581,6 @@ ub_env_enum(const char *last)
|
|||
if (!env)
|
||||
/* no more env. variables to enumerate */
|
||||
return (NULL);
|
||||
#if 0
|
||||
if (last && strncmp(env, last, strlen(last)) == 0);
|
||||
/* error, trying to enumerate non existing env. variable */
|
||||
return NULL;
|
||||
#endif
|
||||
|
||||
/* next enumerated env var */
|
||||
memset(env_name, 0, 256);
|
||||
|
|
|
|||
Loading…
Reference in a new issue