vala/return-fix.patch

79 lines
1.5 KiB
Diff

diff -Naur vala-0.3.3/vala/valagenieparser.c vala-0.3.3-mp/vala/valagenieparser.c
--- vala-0.3.3/vala/valagenieparser.c 2008-06-03 22:22:26.000000000 +0200
+++ vala-0.3.3-mp/vala/valagenieparser.c 2008-09-12 07:33:04.025057000 +0200
@@ -464,6 +464,7 @@
g_propagate_error (error, inner_error);
return FALSE;
}
+ return FALSE;
}
@@ -486,6 +487,7 @@
g_propagate_error (error, inner_error);
return FALSE;
}
+ return FALSE;
}
@@ -673,6 +675,7 @@
g_propagate_error (error, inner_error);
return NULL;
}
+ return NULL;
}
@@ -1880,6 +1883,7 @@
}
}
(member == NULL ? NULL : (member = (g_object_unref (member), NULL)));
+ return NULL;
}
@@ -5019,6 +5023,7 @@
return NULL;
}
(attrs == NULL ? NULL : (attrs = (g_object_unref (attrs), NULL)));
+ return NULL;
}
diff -Naur vala-0.3.3/vala/valaparser.c vala-0.3.3-mp/vala/valaparser.c
--- vala-0.3.3/vala/valaparser.c 2008-06-03 22:22:28.000000000 +0200
+++ vala-0.3.3-mp/vala/valaparser.c 2008-09-12 07:44:47.890487000 +0200
@@ -419,6 +419,7 @@
g_propagate_error (error, inner_error);
return FALSE;
}
+ return FALSE;
}
@@ -618,6 +619,7 @@
g_propagate_error (error, inner_error);
return NULL;
}
+ return NULL;
}
@@ -1594,6 +1596,7 @@
}
}
(member == NULL ? NULL : (member = (g_object_unref (member), NULL)));
+ return NULL;
}
@@ -4549,6 +4552,7 @@
return NULL;
}
(attrs == NULL ? NULL : (attrs = (g_object_unref (attrs), NULL)));
+ return NULL;
}