Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Glade
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ZenWalker
Glade
Commits
81f96c2f
Commit
81f96c2f
authored
Oct 16, 2020
by
Juan Pablo Ugarte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix maybe uninitialized warnings
parent
9c09fec1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
gladeui/glade-catalog.c
gladeui/glade-catalog.c
+1
-1
src/glade-http.c
src/glade-http.c
+1
-1
src/glade-registration.c
src/glade-registration.c
+2
-2
No files found.
gladeui/glade-catalog.c
View file @
81f96c2f
...
...
@@ -769,7 +769,7 @@ glade_catalog_load_all (void)
/* First load catalogs from user specified directories ... */
if
((
search_path
=
g_getenv
(
GLADE_ENV_CATALOG_PATH
))
!=
NULL
)
{
g_auto
(
GStrv
)
split
;
g_auto
(
GStrv
)
split
=
NULL
;
if
((
split
=
g_strsplit
(
search_path
,
":"
,
0
))
!=
NULL
)
{
...
...
src/glade-http.c
View file @
81f96c2f
...
...
@@ -158,7 +158,7 @@ on_read_line_ready (GObject *source, GAsyncResult *res, gpointer data)
{
GladeHTTPPrivate
*
priv
=
GLADE_HTTP
(
data
)
->
priv
;
g_autoptr
(
GError
)
error
=
NULL
;
g_autofree
gchar
*
line
;
g_autofree
gchar
*
line
=
NULL
;
gsize
length
;
glade_http_emit_status
(
data
,
GLADE_HTTP_RECEIVING
,
NULL
);
...
...
src/glade-registration.c
View file @
81f96c2f
...
...
@@ -195,7 +195,7 @@ glade_registration_show_message (GladeRegistration *registration,
if
(
format
)
{
g_autofree
gchar
*
string
;
g_autofree
gchar
*
string
=
NULL
;
va_list
args
;
va_start
(
args
,
format
);
...
...
@@ -545,7 +545,7 @@ glade_registration_save_state_foreach (GtkWidget *widget, gpointer data)
{
GtkTextBuffer
*
buffer
=
gtk_text_view_get_buffer
(
GTK_TEXT_VIEW
(
widget
));
GtkTextIter
start
,
end
;
g_autofree
gchar
*
text
;
g_autofree
gchar
*
text
=
NULL
;
gtk_text_buffer_get_bounds
(
buffer
,
&
start
,
&
end
);
text
=
gtk_text_buffer_get_text
(
buffer
,
&
start
,
&
end
,
FALSE
);
...
...
Write
Preview
Markdown
is supported
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