< Prevent message >
Dereference null return value (NULL_RETURNS)
Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: I18968d836de30f0b20ba5a7cb670f451c86dbd01
break;
}
}
-
+ fclose( outfile );
}
- fclose( outfile );
-
}
void UpdateThread::UpdateStatusLogging( unsigned int keepUpdatingStatus, bool renderNeedsUpdate )
{
path = "";
#ifdef OVER_TIZEN_SDK_2_2
- path = app_get_data_path();
+ char *pathInt = app_get_data_path();
+ if ( pathInt )
+ {
+ path = pathInt;
+ }
#endif
}
gc = ecore_x_gc_new( mX11Pixmap,
ECORE_X_GC_VALUE_MASK_FOREGROUND,
&foreground );
+
+ DALI_ASSERT_ALWAYS( gc && "CreateXRenderable(): failed to get gc" );
+
ecore_x_drawable_rectangle_fill( mX11Pixmap, gc, 0, 0, mPosition.width, mPosition.height );
DALI_ASSERT_ALWAYS( mX11Pixmap && "Failed to create X pixmap" );