base-sms: fix warnings with -Wshadow
mm-base-sms.c: In function ‘generate_3gpp_submit_pdus’:
mm-base-sms.c:153:19: error: declaration of ‘i’ shadows a previous local [-Werror=shadow]
153 | guint i = 0;
| ^
mm-base-sms.c:102:11: note: shadowed declaration is here
102 | guint i;
| ^
This commit is contained in:
+1
-2
@@ -150,8 +150,7 @@ generate_3gpp_submit_pdus (MMBaseSms *self,
|
||||
if (split_text)
|
||||
g_strfreev (split_text);
|
||||
else if (split_data) {
|
||||
guint i = 0;
|
||||
|
||||
i = 0;
|
||||
while (split_data[i])
|
||||
g_byte_array_unref (split_data[i++]);
|
||||
g_free (split_data);
|
||||
|
||||
Reference in New Issue
Block a user