[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-46
From: |
Daniele Forsi |
Subject: |
[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-461-gdb01b73 |
Date: |
Mon, 15 Apr 2013 15:25:05 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libgnokii and core programs".
The branch, master has been updated
via db01b7306c7a9a3506253ee088e54ee083c85b15 (commit)
from 76368b70314607394b7ccc4d9ae3924fdd54511f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=db01b7306c7a9a3506253ee088e54ee083c85b15
commit db01b7306c7a9a3506253ee088e54ee083c85b15
Author: Daniele Forsi <address@hidden>
Date: Mon Apr 15 17:12:19 2013 +0200
Fix: Function call argument is an uninitialized value
Error found with scan-build.
diff --git a/common/gsm-sms.c b/common/gsm-sms.c
index f2bb91c..7c92b7c 100644
--- a/common/gsm-sms.c
+++ b/common/gsm-sms.c
@@ -1748,6 +1748,7 @@ GNOKII_API gn_error gn_sms_send(gn_data *data, struct
gn_statemachine *state)
if (enc == GN_SMS_DCS_UCS2)
data->sms->dcs.u.general.alphabet = enc;
data->sms->user_data[i].chars = enc_chars;
+ dprintf("enc_chars: %d\next_chars: %d\n",
enc_chars, ext_chars);
} else {
/* FIXME: that's wrong for Nokia Multipart
Picture Message, does anybody still use it? */
data->sms->dcs.u.general.alphabet =
GN_SMS_DCS_8bit;
@@ -1756,7 +1757,6 @@ GNOKII_API gn_error gn_sms_send(gn_data *data, struct
gn_statemachine *state)
}
}
- dprintf("enc_chars: %d\next_chars: %d\n", enc_chars, ext_chars);
/* Count the total length of the message text octets to be sent */
total = 0;
i = 0;
-----------------------------------------------------------------------
Summary of changes:
common/gsm-sms.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
libgnokii and core programs
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-461-gdb01b73,
Daniele Forsi <=