[easytag/wip/easytag-next: 13/18] Fix an uninitialised variable warning



commit f86523fe4470afd9c9429bb74f447849e42b1c23
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]