diff options
author | Pablo Barciela <[email protected]> | 2019-03-03 01:44:59 +0100 |
---|---|---|
committer | monsta <[email protected]> | 2019-07-23 15:48:35 +0300 |
commit | cb23ee025b4edd94a0e42cd2667ea6b07a60ac51 (patch) | |
tree | 58367a0e97bd92f3e6831cc8cc97bfda60267f4f /src | |
parent | dd4252ba7f6cc46f0261751f5811d16181590e4b (diff) | |
download | caja-cb23ee025b4edd94a0e42cd2667ea6b07a60ac51.tar.bz2 caja-cb23ee025b4edd94a0e42cd2667ea6b07a60ac51.tar.xz |
caja-window: Fix garbage value
Fixes Clang static analyzer warning:
caja-window.c:554:34: warning: The left operand of '<' is a garbage value
MIN (default_width,
^ ~~~~~~~~~~~~~
Diffstat (limited to 'src')
-rw-r--r-- | src/caja-window.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/caja-window.c b/src/caja-window.c index c584b87a..61db3140 100644 --- a/src/caja-window.c +++ b/src/caja-window.c @@ -540,7 +540,8 @@ caja_window_set_initial_window_geometry (CajaWindow *window) GdkScreen *screen; guint max_width_for_screen, max_height_for_screen; - guint default_width, default_height; + guint default_width = 0; + guint default_height = 0; screen = gtk_window_get_screen (GTK_WINDOW (window)); |