tones: Fix coverity issues 24/272924/3 accepted/tizen/unified/20220328.131520 submit/tizen/20220328.063649 submit/tizen/20220328.063710
authorJaechul Lee <jcsing.lee@samsung.com>
Mon, 28 Mar 2022 05:00:35 +0000 (14:00 +0900)
committerJaechul Lee <jcsing.lee@samsung.com>
Mon, 28 Mar 2022 06:21:05 +0000 (15:21 +0900)
The issue of coverity(1286168) was fixed

[Version] 15.0.8
[Issue Type] Coverity

Change-Id: I5eaaa3e59050963ad207634bae5a68631b9b286e
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
packaging/pulseaudio-modules-tizen.spec
src/tones.h

index a350f73..28cd7d8 100644 (file)
@@ -2,7 +2,7 @@
 
 Name:             pulseaudio-modules-tizen
 Summary:          Pulseaudio modules for Tizen
-Version:          15.0.7
+Version:          15.0.8
 Release:          0
 Group:            Multimedia/Audio
 License:          LGPL-2.1+
index 9616d14..10dd13f 100644 (file)
@@ -23,9 +23,9 @@
 #define footoneplayerfoo
 #include <pulsecore/core.h>
 
-#define TONE_ELEMENTS_ROW                              14
+#define TONE_ELEMENTS_ROW                      14
 #define TONE_ELEMENTS_COLUMN                   6
-#define TONE_ELEMENTS                                  TONE_ELEMENTS_ROW * TONE_ELEMENTS_COLUMN
+#define TONE_ELEMENTS                          (TONE_ELEMENTS_ROW * TONE_ELEMENTS_COLUMN)
 
 /* need to improve: 18KiB approximately */
 static const uint16_t tones[][TONE_ELEMENTS] = {