1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source4/lib
Lukas Slebodnik fa99ae70f1 tls: Fix warning Wunused-variable
The variable error_pos is used only with enabled ENABLE_GNUTLS
There are warnings if compiled witout gnutls

../source4/lib/tls/tls_tstream.c: In function ‘_tstream_tls_connect_send’:
../source4/lib/tls/tls_tstream.c:1053:14:
    warning: unused variable ‘error_pos’ [-Wunused-variable]
  const char *error_pos;
              ^~~~~~~~~
../source4/lib/tls/tls_tstream.c: In function ‘_tstream_tls_accept_send’:
../source4/lib/tls/tls_tstream.c:1333:14:
     warning: unused variable ‘error_pos’ [-Wunused-variable]
  const char *error_pos;
              ^~~~~~~~~

Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Sep 21 00:01:09 CEST 2016 on sn-devel-144
2016-09-21 00:01:08 +02:00
..
cmdline s4-lib/cmdline: Fix help for -P / --machine-pass: this no longer implies -k 2015-03-06 17:39:58 +01:00
com lib/dcom: use HRESULT in dcom_create_object. 2015-07-31 01:55:28 +02:00
events s4:lib/events: remove unused allow_warnings=True 2014-11-25 07:25:46 +01:00
http lib: Give base64.c its own .h 2016-05-04 01:28:23 +02:00
messaging s4/messaging: let the imessaging ctx destructor free msg_dgm_ref 2016-09-19 03:32:10 +02:00
policy s4-libgpo: fix gcc6 build warning. 2016-02-06 21:48:18 +01:00
registry s4:regshell: fix O3 error unused result of asprintf in reg_complete_key() 2016-05-13 00:16:16 +02:00
samba3 s4-lib/samba3: Remove unused smbpasswd_decode_acb_info() 2012-02-10 16:45:13 +11:00
socket lib: Fix a pointless error check 2016-08-05 22:20:05 +02:00
stream dlist: remove unneeded type argument from DLIST_ADD_END() 2016-02-06 21:48:17 +01:00
tls tls: Fix warning Wunused-variable 2016-09-21 00:01:08 +02:00
wmi s4/lib/wmi_wrap: use HAVE___ATTRIBUTE__ instead of __GNUC__ 2016-03-24 15:13:15 +01:00