[easytag] Fix an uninitialised variable warning



commit 4d13757d39ae88f87398c06b0cfa8f1644ce9e10
Author: David King <amigadave amigadave com>
Date:   Wed Dec 5 10:11:18 2012 +0000

    Fix an uninitialised variable warning

 src/cddb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/cddb.c b/src/cddb.c
index 4aa3e36..a63deef 100644
--- a/src/cddb.c
+++ b/src/cddb.c
@@ -888,7 +888,7 @@ void Cddb_Window_Apply_Changes (void)
         gint x, y, width, height;
         GdkWindow *window;
 
-        gtk_widget_get_window(CddbWindow);
+        window = gtk_widget_get_window(CddbWindow);
 
         if ( window && gdk_window_is_visible(window) && gdk_window_get_state(window)!=GDK_WINDOW_STATE_MAXIMIZED )
         {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]