Browse Source

Fix 'potentially uninitialized' warning on var

jp9000 11 years ago
parent
commit
3af33e11b7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libobs/obs-scene.c

+ 1 - 1
libobs/obs-scene.c

@@ -711,7 +711,7 @@ void obs_sceneitem_setalignment(obs_sceneitem_t item, uint32_t alignment)
 static inline void signal_move_dir(struct obs_scene_item *item,
 		enum order_movement movement)
 {
-	const char *command;
+	const char *command = NULL;
 	struct calldata params = {0};
 
 	switch (movement) {