mirror of
https://github.com/postgres/postgres.git
synced 2025-11-12 05:01:15 +03:00
Remove un-needed braces around single statements.
This commit is contained in:
@@ -68,9 +68,7 @@ BSD44_derived_dlopen(const char *file, int num)
|
||||
void *vp;
|
||||
|
||||
if ((vp = dlopen((char *) file, num)) == (void *) NULL)
|
||||
{
|
||||
sprintf(error_message, "dlopen (%s) failed", file);
|
||||
}
|
||||
return (vp);
|
||||
#endif
|
||||
}
|
||||
@@ -91,9 +89,7 @@ BSD44_derived_dlsym(void *handle, const char *name)
|
||||
name = buf;
|
||||
}
|
||||
if ((vp = dlsym(handle, (char *) name)) == (void *) NULL)
|
||||
{
|
||||
sprintf(error_message, "dlsym (%s) failed", name);
|
||||
}
|
||||
return (vp);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user