Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pellegrino Prevete
libhandy
Commits
f29457da
Commit
f29457da
authored
Oct 06, 2018
by
Guido Gunther
Committed by
Guido Gunther
Oct 12, 2018
Browse files
HdyLeaflet: Remove unused initializations
spotted by clang
parent
3ac076f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/hdy-leaflet.c
View file @
f29457da
...
...
@@ -1194,7 +1194,6 @@ hdy_leaflet_get_preferred_width (GtkWidget *widget,
gint
child_nat
,
max_nat
,
sum_nat
;
visible_children
=
0
;
visible_child_progress
=
0
.
0
;
child_min
=
max_min
=
visible_min
=
last_visible_min
=
0
;
child_nat
=
max_nat
=
sum_nat
=
0
;
for
(
children
=
priv
->
children
;
children
;
children
=
children
->
next
)
{
...
...
@@ -1242,7 +1241,6 @@ hdy_leaflet_get_preferred_height (GtkWidget *widget,
gint
child_nat
,
max_nat
,
sum_nat
;
visible_children
=
0
;
visible_child_progress
=
0
.
0
;
child_min
=
max_min
=
visible_min
=
last_visible_min
=
0
;
child_nat
=
max_nat
=
sum_nat
=
0
;
for
(
children
=
priv
->
children
;
children
;
children
=
children
->
next
)
{
...
...
@@ -1291,7 +1289,6 @@ hdy_leaflet_get_preferred_width_for_height (GtkWidget *widget,
gint
child_nat
,
max_nat
,
sum_nat
;
visible_children
=
0
;
visible_child_progress
=
0
.
0
;
child_min
=
max_min
=
visible_min
=
last_visible_min
=
0
;
child_nat
=
max_nat
=
sum_nat
=
0
;
for
(
children
=
priv
->
children
;
children
;
children
=
children
->
next
)
{
...
...
@@ -1343,7 +1340,6 @@ hdy_leaflet_get_preferred_height_for_width (GtkWidget *widget,
gint
child_nat
,
max_nat
,
sum_nat
;
visible_children
=
0
;
visible_child_progress
=
0
.
0
;
child_min
=
max_min
=
visible_min
=
last_visible_min
=
0
;
child_nat
=
max_nat
=
sum_nat
=
0
;
for
(
children
=
priv
->
children
;
children
;
children
=
children
->
next
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment