charset: Avoid compiler warnings with --enable-developer
authorMartin Schwenke <martin@meltin.net>
Wed, 10 Sep 2014 01:10:09 +0000 (11:10 +1000)
committerVolker Lendecke <vl@samba.org>
Fri, 19 Sep 2014 16:11:11 +0000 (18:11 +0200)
commitd55cdc367d2048433c4862222d8b9f4ab419a35f
tree35fcbba8770a7e8d9a58677a6248584bc84e6145
parent2f7ba8175e87fcb96ef07a7bf3ef99eb3dc4bc28
charset: Avoid compiler warnings with --enable-developer

These:

  [ 44/309] Compiling ../lib/util/charset/util_unistr_w.c
  ../../lib/util/charset/util_unistr_w.c: In function ‘strlower_w’:
  ../../lib/util/charset/util_unistr_w.c:182:127: warning: right-hand operand of comma expression has no effect [-Wunused-value]
      COPY_UCS2_CHAR(s,&v);

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
lib/util/charset/util_unistr_w.c