projects
/
platform
/
core
/
api
/
webapi-plugins.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c121dbf
)
[Sound] Added initialization of variable
author
Piotr Kosko
<p.kosko@samsung.com>
Tue, 9 Jun 2015 12:22:31 +0000
(14:22 +0200)
committer
Piotr Kosko
<p.kosko@samsung.com>
Tue, 9 Jun 2015 12:22:31 +0000
(14:22 +0200)
Change-Id: I6fbae25f5790db48ae3a67f236b9c54c002fed60
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
src/sound/sound_manager.cc
patch
|
blob
|
history
diff --git
a/src/sound/sound_manager.cc
b/src/sound/sound_manager.cc
index 32708bc6ec9b4446d6869dfd73ce4fa414373e38..188f96354c66f389fa180a877e893a25a42c01a2 100644
(file)
--- a/
src/sound/sound_manager.cc
+++ b/
src/sound/sound_manager.cc
@@
-299,7
+299,7
@@
PlatformResult SoundManager::GetVolume(const picojson::object& args,
double* volume) {
LoggerD("Enter");
const std::string& type = FromJson<std::string>(args, "type");
- int value;
+ int value
= 0
;
sound_type_e type_enum;
PlatformResult status = SoundManager::StrToPlatformEnum(type, &type_enum);