summaryrefslogtreecommitdiffstats
path: root/lib/libdisk
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libdisk')
-rw-r--r--lib/libdisk/open_disk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libdisk/open_disk.c b/lib/libdisk/open_disk.c
index 9e487a9..7450652 100644
--- a/lib/libdisk/open_disk.c
+++ b/lib/libdisk/open_disk.c
@@ -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';
OpenPOWER on IntegriCloud