diff options
author | kalvdans <github@kalvdans.no-ip.org> | 2019-11-03 10:28:37 +0100 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2019-11-03 09:28:36 +0000 |
commit | 011986306b8ed6d940bbe5b8faebd55ff5c63f99 (patch) | |
tree | 957b64e1441e844e17f81d4476031b3121556931 /.appveyor.yml | |
parent | e1a9050c61bba5b51e21dbf8e80020c5c1d7c9ba (diff) | |
download | sshfs-011986306b8ed6d940bbe5b8faebd55ff5c63f99.tar sshfs-011986306b8ed6d940bbe5b8faebd55ff5c63f99.tar.gz sshfs-011986306b8ed6d940bbe5b8faebd55ff5c63f99.tar.bz2 sshfs-011986306b8ed6d940bbe5b8faebd55ff5c63f99.zip |
Remedy gcc 7.4.0 warnings (#187)
* Use logical not for booleans
Fixes a gcc 7.4.0 complaint:
sshfs.c:1743:28: warning: ‘~’ on a boolean expression [-Wbool-operation]
sshfs.c:1743:28: note: did you mean to use logical not?
* strdup argument to keep it alive after function return
Fixes gcc 7.4.0 complaint:
sshfs.c: In function ‘sshfs_opt_proc’:
sshfs.c:3488:50: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
Diffstat (limited to '.appveyor.yml')
0 files changed, 0 insertions, 0 deletions