From fa1e4d7966d39dae697f6cdc9d2ff08fb1631f60 Mon Sep 17 00:00:00 2001
From: Tristan Matthews <tristan.matthews@savoirfairelinux.com>
Date: Mon, 28 Apr 2014 18:49:14 -0400
Subject: [PATCH] video: fix uninitialized variable warnings

Refs #46200

Change-Id: Ic6dcb9b50dabf897c05d5d6c9b19e83bc0af874a
---
 daemon/src/video/video_preferences.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/daemon/src/video/video_preferences.h b/daemon/src/video/video_preferences.h
index f0abe562f2..53838435f7 100644
--- a/daemon/src/video/video_preferences.h
+++ b/daemon/src/video/video_preferences.h
@@ -94,10 +94,10 @@ class VideoPreference : public Serializable
         NON_COPYABLE(VideoPreference);
 
         struct VideoDevice {
-            std::string name;
-            std::string channel;
-            std::string size;
-            std::string rate;
+            std::string name = "";
+            std::string channel = "";
+            std::string size = "";
+            std::string rate = "";
         };
 
         std::shared_ptr<sfl_video::VideoV4l2ListThread> v4l2List_;
-- 
GitLab