gnokii-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-49


From: Daniele Forsi
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-490-ga386ab8
Date: Thu, 25 Apr 2013 17:18:17 +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  a386ab8598fc5468378ede52b5e4b61368a4d281 (commit)
      from  d118734b87547562c1742d6393d49c59b8a93ab5 (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=a386ab8598fc5468378ede52b5e4b61368a4d281


commit a386ab8598fc5468378ede52b5e4b61368a4d281
Author: Daniele Forsi <address@hidden>
Date:   Thu Apr 25 17:31:22 2013 +0200

    Fixes "Value stored to 'sent' is never read"
    
    Error found with scan-build.

diff --git a/common/links/fbus-phonet.c b/common/links/fbus-phonet.c
index f99e2ea..221f794 100644
--- a/common/links/fbus-phonet.c
+++ b/common/links/fbus-phonet.c
@@ -347,8 +347,6 @@ static gn_error phonet_send_message(unsigned int 
messagesize, unsigned char mess
 
        total = current;
        current = 0;
-       sent = 0;
-
        do {
                sent = device_write(out_buffer + current, total - current, 
state);
                if (sent < 0) return GN_ERR_FAILED;

-----------------------------------------------------------------------

Summary of changes:
 common/links/fbus-phonet.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]