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 "An utility library for Open Source Mobile Communications".

The branch, master has been updated
       via  e9e9e427b78271941a25a63567fc2ec2bb9e4433 (commit)
      from  224a6dda02a2fcf11f70ac25abe9c780167649bf (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://cgit.osmocom.org/libosmocore/commit/?id=e9e9e427b78271941a25a63567fc2ec2bb9e4433

commit e9e9e427b78271941a25a63567fc2ec2bb9e4433
Author: Pau Espin Pedrol <[email protected]>
Date:   Mon Oct 23 19:19:13 2017 +0200

    vty: Fix bad use of vector_slot()
    
    Fixes the compilation warning below:
    
    git/libosmocore/src/vty/command.c: In function 
‘cmd_complete_command_real’:
    git/libosmocore/src/vty/command.c:1953:33: warning: comparison between 
pointer and zero character const
    ant [-Wpointer-compare]
       if (vector_slot(vline, index) == '\0')
                                     ^~
    git/libosmocore/src/vty/command.c:37:0:
    git/libosmocore/include/osmocom/vty/vector.h:39:27: note: did you mean to 
dereference the pointer?
     #define vector_slot(V,I)  ((V)->index[(I)])
                               ^
    git/libosmocore/src/vty/command.c:1953:7: note: in expansion of macro 
‘vector_slot’
       if (vector_slot(vline, index) == '\0')
           ^~~~~~~~~~~
    
    Change-Id: Iaba9e3450d68c51e16a7bda2fc0fc370992ca866

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

Summary of changes:
 src/vty/command.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
An utility library for Open Source Mobile Communications

Reply via email to