Skip to content

Commit 8205245

Browse files
committed
Fix warnings
1 parent 43348d8 commit 8205245

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

src/plugin_front.c

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,9 @@ EXPORT m64p_error CALL PluginStartup(m64p_dynlib_handle CoreLibHandle, void *Con
126126

127127
int ConfigAPIVersion, DebugAPIVersion, VidextAPIVersion;
128128

129-
if (l_PluginInit)
130-
return M64ERR_ALREADY_INIT;
129+
if (l_PluginInit) {
130+
return M64ERR_ALREADY_INIT;
131+
}
131132

132133
l_DebugCallback = DebugCallback;
133134
l_DebugCallContext = Context;
@@ -188,8 +189,9 @@ EXPORT m64p_error CALL PluginStartup(m64p_dynlib_handle CoreLibHandle, void *Con
188189

189190
EXPORT m64p_error CALL PluginShutdown(void)
190191
{
191-
if (!l_PluginInit)
192-
return M64ERR_NOT_INIT;
192+
if (!l_PluginInit) {
193+
return M64ERR_NOT_INIT;
194+
}
193195

194196
/* reset some local variables */
195197
l_DebugCallback = NULL;

0 commit comments

Comments
 (0)