mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Initialise `sn' before using its value.
This commit is contained in:
parent
9a9ef8b65a
commit
f51df9ed11
1 changed files with 1 additions and 2 deletions
|
|
@ -128,8 +128,7 @@ Int_Open_Disk(const char *name, char *conftxt)
|
|||
lo[0] = 0;
|
||||
|
||||
for (; p != NULL && *p; p = q) {
|
||||
if (sn)
|
||||
sn = NULL;
|
||||
sn = NULL;
|
||||
q = strchr(p, '\n');
|
||||
if (q != NULL)
|
||||
*q++ = '\0';
|
||||
|
|
|
|||
Loading…
Reference in a new issue