This commit is contained in:
committed by
Git OBS Bridge
parent
401d1774ac
commit
5633abe4a7
36
abuild.patch
Normal file
36
abuild.patch
Normal file
@@ -0,0 +1,36 @@
|
||||
I: Program is using uninitialized variables.
|
||||
Note the difference between "is used" and "may be used"
|
||||
W: anjuta uninitialized-variable breakpoints.c: 668
|
||||
W: anjuta uninitialized-variable project_dbase_gui.c: 1313
|
||||
|
||||
Index: anjuta-1.2.4a/src/breakpoints.c
|
||||
===================================================================
|
||||
--- anjuta-1.2.4a.orig/src/breakpoints.c
|
||||
+++ anjuta-1.2.4a/src/breakpoints.c
|
||||
@@ -665,7 +665,6 @@ on_bk_properties_clicked (GtkWidget *but
|
||||
valid = gtk_tree_selection_get_selected (selection, &model, &iter);
|
||||
if (!valid)
|
||||
{
|
||||
- g_object_unref (gxml);
|
||||
return;
|
||||
}
|
||||
gtk_tree_model_get (model, &iter, DATA_COLUMN, &bid, -1);
|
||||
Index: anjuta-1.2.4a/src/project_dbase_gui.c
|
||||
===================================================================
|
||||
--- anjuta-1.2.4a.orig/src/project_dbase_gui.c
|
||||
+++ anjuta-1.2.4a/src/project_dbase_gui.c
|
||||
@@ -1304,9 +1304,13 @@ static void
|
||||
on_prj_import_confirm_yes (GtkButton * button, const gchar* filename,
|
||||
gpointer user_data)
|
||||
{
|
||||
- PrjModule selMod ;
|
||||
+ /* the second argument to project_dbase_import_file_real is ignored,
|
||||
+ so zeroing this out silence warnings is safe. */
|
||||
+ PrjModule selMod;
|
||||
ProjectDBase *p = user_data;
|
||||
|
||||
+ memset (&selMod, 0, sizeof (selMod));
|
||||
+
|
||||
gtk_widget_hide (p->fileselection_add_file);
|
||||
if (!filename)
|
||||
return;
|
Reference in New Issue
Block a user