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-48


From: Daniele Forsi
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-483-gb7ebb63
Date: Wed, 24 Apr 2013 10:44:54 +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  b7ebb632d74442ce790f666febb635a5325d47ca (commit)
      from  1249e9ae826b9e52cb3e81f690f4c956c9461e82 (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=b7ebb632d74442ce790f666febb635a5325d47ca


commit b7ebb632d74442ce790f666febb635a5325d47ca
Author: Daniele Forsi <address@hidden>
Date:   Wed Apr 24 12:43:35 2013 +0200

    Remove bogus dprintf()
    
    Remove also the switch statement since all processing is done in the
    called function.

diff --git a/common/phones/nk7110.c b/common/phones/nk7110.c
index a21ec71..737bca3 100644
--- a/common/phones/nk7110.c
+++ b/common/phones/nk7110.c
@@ -2148,12 +2148,7 @@ static gn_error SetStartupBitmap(gn_data *data, struct 
gn_statemachine *state)
 /*****************************/
 static gn_error NK7110_IncomingSecurity(int messagetype, unsigned char 
*message, int length, gn_data *data, struct gn_statemachine *state)
 {
-       switch(message[2]) {
-       default:
-               dprintf("Unknown security command\n");
-               return pnok_security_incoming(messagetype, message, length, 
data, state);
-       }
-       return GN_ERR_NONE;
+       return pnok_security_incoming(messagetype, message, length, data, 
state);
 }
 
 /*****************/

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

Summary of changes:
 common/phones/nk7110.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

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