From: Jordan Lee Date: Sun, 6 Dec 2015 22:24:35 +0000 (+0000) Subject: fix unused label warning X-Git-Tag: 2.90~78 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3d76f23b2b4873e3bc01ce67424b9d312d7ed822;p=transmission fix unused label warning some #ifdef code had a goto label 'non_sparse_out', so that goto label was unused on platforms where all those #ifdef blocks were disabled. --- diff --git a/libtransmission/file-posix.c b/libtransmission/file-posix.c index 1fbc35a71..8406354d6 100644 --- a/libtransmission/file-posix.c +++ b/libtransmission/file-posix.c @@ -866,7 +866,9 @@ tr_sys_file_preallocate (tr_sys_file_t handle, #endif +#if defined(HAVE_XFS_XFS_H) || defined(__APPLE__) non_sparse_out: +#endif errno = code; }