projects
/
profile
/
tv
/
apps
/
native
/
air_volume.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61b7790
)
Fix check patch warning
64/45764/2
author
jinwoo.shin
<jw0227.shin@samsung.com>
Tue, 11 Aug 2015 05:48:31 +0000
(14:48 +0900)
committer
jinwoo.shin
<jw0227.shin@samsung.com>
Thu, 13 Aug 2015 01:52:11 +0000
(10:52 +0900)
Change-Id: I59436d03c74e8dd18977882f6ba734f2c8afde79
Signed-off-by: jinwoo.shin <jw0227.shin@samsung.com>
src/volume.c
patch
|
blob
|
history
diff --git
a/src/volume.c
b/src/volume.c
index
66f9ed2
..
9109dc8
100644
(file)
--- a/
src/volume.c
+++ b/
src/volume.c
@@
-80,11
+80,10
@@
int volume_get_volume(void)
if (volume_is_mute())
return volume;
- else {
- r = sound_manager_get_volume(SOUND_TYPE_MEDIA, &vol);
- if (r < 0)
- return -1;
- return vol;
- }
+ r = sound_manager_get_volume(SOUND_TYPE_MEDIA, &vol);
+ if (r < 0)
+ return -1;
+
+ return vol;
}