~vcs-imports/libice/master

Viewing all changes in revision 164.

  • Committer: Alan Coopersmith
  • Author(s): walter harms
  • Date: 2019-03-03 18:44:32 UTC
  • Revision ID: git-v1:1cc4ae8648590f04557a20c8d88d39cef7fe8119
iceauth.c: FIX warning: unused variable 'ret' in 'arc4random_buf'

commit ff5e59f32255913bb1cdf51441b98c9107ae165b left ret outside the #if
causing a gcc warning:

 In function 'arc4random_buf':
 iceauth.c:89:13: warning: unused variable 'ret' [-Wunused-variable]

fixed by moving  #if 1 up

Signed-off-by:  Walter Harms <wharms@bfs.de>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: