Configuration parsing cleanups
Drop some CONFIG_VERSION cases that shouldn't be needed.
This commit is contained in:
parent
21a18c674e
commit
f625824349
|
@ -296,8 +296,6 @@ AclassConfigLoad(FILE * fs)
|
|||
i2 = atoi(s2);
|
||||
switch (i1)
|
||||
{
|
||||
case CONFIG_VERSION:
|
||||
break;
|
||||
case CONFIG_ACTIONCLASS:
|
||||
err = -1;
|
||||
if (i2 != CONFIG_OPEN)
|
||||
|
|
|
@ -1780,9 +1780,6 @@ MenuConfigLoad(FILE * fs)
|
|||
default:
|
||||
break;
|
||||
|
||||
case CONFIG_VERSION:
|
||||
continue;
|
||||
|
||||
case CONFIG_MENU:
|
||||
err = -1;
|
||||
i2 = atoi(s2);
|
||||
|
|
|
@ -143,7 +143,6 @@ WindowMatchConfigLoad(FILE * fs)
|
|||
i1 = ConfigParseline1(s, s2, &p2, NULL);
|
||||
switch (i1)
|
||||
{
|
||||
case CONFIG_VERSION:
|
||||
case CONFIG_WINDOWMATCH:
|
||||
err = -1;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue