Fix 'potentially uninitialized' warning on var

This commit is contained in:
jp9000 committed 2014-06-27 21:37:40 -07:00
1 parent e44addccb0
commit 3af33e11b7
1 file changed
+1 -1
+1 -1
View File
@@ -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) {