[gtk] inspector: Fix an uninitialized value warning
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] inspector: Fix an uninitialized value warning
- Date: Fri, 22 Feb 2019 18:23:34 +0000 (UTC)
commit 9d0e8b85c1d7b5c672f1b6ab87a64c56f7d5c646
Author: Timm Bäder <mail baedert org>
Date: Fri Feb 22 19:22:58 2019 +0100
inspector: Fix an uninitialized value warning
gtk/inspector/fpsoverlay.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/inspector/fpsoverlay.c b/gtk/inspector/fpsoverlay.c
index 5a58e8689c..092e5b30c5 100644
--- a/gtk/inspector/fpsoverlay.c
+++ b/gtk/inspector/fpsoverlay.c
@@ -158,7 +158,7 @@ gtk_fps_overlay_snapshot (GtkInspectorOverlay *overlay,
double fps;
char *fps_string;
graphene_rect_t bounds;
- gboolean has_bounds;
+ gboolean has_bounds = FALSE;
int width, height;
double overlay_opacity;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]