diff --git a/app/gui/splash.c b/app/gui/splash.c index a2e98f801c..8ca8297279 100644 --- a/app/gui/splash.c +++ b/app/gui/splash.c @@ -148,12 +148,12 @@ splash_create (Gimp *gimp, GdkRectangle workarea; gint max_width; gint max_height; + gboolean release_splash; #ifdef G_OS_WIN32 STARTUPINFO StartupInfo; GetStartupInfo (&StartupInfo); #endif - gboolean release_splash; g_return_if_fail (splash == NULL); g_return_if_fail (GDK_IS_MONITOR (monitor)); diff --git a/app/plug-in/gimpinterpreterdb.c b/app/plug-in/gimpinterpreterdb.c index e4e34b0609..188cc65807 100644 --- a/app/plug-in/gimpinterpreterdb.c +++ b/app/plug-in/gimpinterpreterdb.c @@ -129,12 +129,14 @@ gimp_interpreter_db_new (gboolean verbose) static gboolean might_be_console_process (void) { + gboolean attached_to_self; + /* check for Unix console */ if (g_getenv ("TERM") || g_getenv ("SHELL")) return TRUE; /* check for Windows console (taken from gspawn-win32.c) */ - gboolean attached_to_self = AttachConsole (GetCurrentProcessId ()); + attached_to_self = AttachConsole (GetCurrentProcessId ()); g_return_val_if_fail (! attached_to_self, TRUE); switch (GetLastError ())