[easytag/wip/easytag-next: 7/11] Fix an uninitialised variable warning



commit d62d8256160a2ebaee8c52c769cdbe1dec281e3c
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 55a9560..3fe3d2f 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]