[anjuta] language-support-cpp-java: Fix crash due to uninitialized variable
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] language-support-cpp-java: Fix crash due to uninitialized variable
- Date: Thu, 17 Mar 2011 21:42:52 +0000 (UTC)
commit d6f742ee53f56ec910bd3de7a4e3105c2c94b179
Author: Johannes Schmid <jhs gnome org>
Date: Thu Mar 17 16:27:29 2011 -0400
language-support-cpp-java: Fix crash due to uninitialized variable
plugins/language-support-cpp-java/plugin.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/language-support-cpp-java/plugin.c b/plugins/language-support-cpp-java/plugin.c
index 94c83e6..afaa2d5 100644
--- a/plugins/language-support-cpp-java/plugin.c
+++ b/plugins/language-support-cpp-java/plugin.c
@@ -682,7 +682,7 @@ language_support_get_header_editor_and_mark (CppJavaPlugin* lang_plugin,
gchar* mark,
IAnjutaEditor** header_editor)
{
- IAnjutaIterable* mark_position;
+ IAnjutaIterable* mark_position = NULL;
GFile *header_file = language_support_get_header_file (editor);
/* Yes, we have a header */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]