Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
gnome-battery-bench
Commits
c01ac22b
Commit
c01ac22b
authored
Mar 14, 2017
by
Christian Kellner
Browse files
Explicitly initialize a variable make gcc happy
parent
a1fe2296
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/system-info.c
View file @
c01ac22b
...
...
@@ -455,7 +455,7 @@ read_mem_info(void)
static
char
*
get_renderer_info
(
void
)
{
g_autoptr
(
GDBusProxy
)
proxy
;
g_autoptr
(
GDBusProxy
)
proxy
=
NULL
;
g_autoptr
(
GVariant
)
var
=
NULL
;
g_autoptr
(
GError
)
error
=
NULL
;
const
char
*
renderer
=
"Unknown"
;
...
...
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