mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 02:58:06 +02:00
xfree86: configServerFlags never fails, make it return void
Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
2bf9db1930
commit
30fa6da6f1
1 changed files with 2 additions and 8 deletions
|
|
@ -760,7 +760,7 @@ static OptionInfoRec FlagOptions[] = {
|
|||
{0}, FALSE},
|
||||
};
|
||||
|
||||
static Bool
|
||||
static void
|
||||
configServerFlags(XF86ConfFlagsPtr flagsconf, XF86OptionPtr layoutopts)
|
||||
{
|
||||
XF86OptionPtr optp, tmp;
|
||||
|
|
@ -1046,8 +1046,6 @@ configServerFlags(XF86ConfFlagsPtr flagsconf, XF86OptionPtr layoutopts)
|
|||
xf86Info.dri2From = X_CONFIG;
|
||||
}
|
||||
#endif
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Bool
|
||||
|
|
@ -2474,11 +2472,7 @@ xf86HandleConfigFile(Bool autoconfig)
|
|||
}
|
||||
#endif
|
||||
/* Now process everything else */
|
||||
if (!configServerFlags(xf86configptr->conf_flags, xf86ConfigLayout.options)) {
|
||||
ErrorF("Problem when converting the config data structures\n");
|
||||
return CONFIG_PARSE_ERROR;
|
||||
}
|
||||
|
||||
configServerFlags(xf86configptr->conf_flags, xf86ConfigLayout.options);
|
||||
configFiles(xf86configptr->conf_files);
|
||||
configExtensions(xf86configptr->conf_extensions);
|
||||
#ifdef XF86DRI
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue