uninitialized variable
[scilab.git] / scilab / modules / graphics / src / c / getHandleProperty / get_text_property.c
index 6e05399..dad38cc 100644 (file)
@@ -36,8 +36,8 @@
 /*------------------------------------------------------------------------*/
 void* get_text_property(void* _pvCtx, int iObjUID)
 {
-    int* dimensions;
-    char** textMatrix;
+    int* dimensions = NULL;
+    char** textMatrix = NULL;
 
     getGraphicObjectProperty(iObjUID, __GO_TEXT_ARRAY_DIMENSIONS__, jni_int_vector, (void **) &dimensions);