Revert "Fix build error with -Wswitch-unreachable by default" 47/215347/1
authorSemun Lee <semun.lee@samsung.com>
Mon, 7 Oct 2019 08:18:14 +0000 (17:18 +0900)
committerSemun Lee <semun.lee@samsung.com>
Mon, 7 Oct 2019 08:22:55 +0000 (17:22 +0900)
This reverts commit c23d32a55e8bd40083f16cd9e31231913f61fb6c.

Change-Id: Icef659f0a08e9e440a64c3d5cf3729c9a85b7001

packaging/tel-plugin-atmodem.spec
src/s_sms.c

index 430bef45c37c5f80137f6b401afea1113cb892af..6aa82db4150dcd06d66e046b8f7e0826747849b6 100644 (file)
@@ -1,6 +1,6 @@
 %define major 0
 %define minor 1
-%define patchlevel 80
+%define patchlevel 79
 
 Name:              tel-plugin-atmodem
 Version:           %{major}.%{minor}.%{patchlevel}
index cedbb365db1913191b23606815392e1a46415be8..10a4841adcc1813c94208a8bf29fc87074e83422 100644 (file)
@@ -1093,10 +1093,10 @@ static void on_response_sms_get_param_count(TcorePending *pending, int data_len,
                                                                /* consider only last 3 bits*/
                                                                file_type_tag = file_type_tag & (*ptr_data);
 
-                                                               /* increment to next byte */
-                                                               ptr_data++;
-
                                                                switch (file_type_tag) {
+                                                                       /* increment to next byte */
+                                                                       ptr_data++;
+
                                                                case 0x1:
                                                                        dbg("Getting FileType: [Transparent file type]");
                                                                        /* increment to next byte */