discover: do not use uninitialized variables. 00/22000/1
authorIsmo Puustinen <ismo.puustinen@intel.com>
Wed, 28 May 2014 13:04:18 +0000 (16:04 +0300)
committerIsmo Puustinen <ismo.puustinen@intel.com>
Wed, 28 May 2014 13:04:18 +0000 (16:04 +0300)
Change-Id: Ic38c70fddc1d93649c9eb081e093f85f605157f2

murphy/discover.c

index 3daf291..063eabd 100644 (file)
@@ -846,7 +846,7 @@ bool pa_discover_preroute_sink_input(struct userdata *u,
     pa_muxnode        *mux;
     pa_nodeset_resdef *resdef;
     bool               loopback;
     pa_muxnode        *mux;
     pa_nodeset_resdef *resdef;
     bool               loopback;
-    bool               remap;
+    bool               remap = false;
 
     pa_assert(u);
     pa_assert(data);
 
     pa_assert(u);
     pa_assert(data);