Configuration parsing cleanups

Drop some CONFIG_VERSION cases that shouldn't be needed.
This commit is contained in:
Kim Woelders 2020-12-14 17:41:15 +01:00
parent 21a18c674e
commit f625824349
3 changed files with 0 additions and 6 deletions

View File

@ -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)

View File

@ -1780,9 +1780,6 @@ MenuConfigLoad(FILE * fs)
default:
break;
case CONFIG_VERSION:
continue;
case CONFIG_MENU:
err = -1;
i2 = atoi(s2);

View File

@ -143,7 +143,6 @@ WindowMatchConfigLoad(FILE * fs)
i1 = ConfigParseline1(s, s2, &p2, NULL);
switch (i1)
{
case CONFIG_VERSION:
case CONFIG_WINDOWMATCH:
err = -1;
break;