diff options
author | Bob Friesenhahn <bfriesen@simple.dallas.tx.us> | 2016-11-18 02:52:13 +0000 |
---|---|---|
committer | Bob Friesenhahn <bfriesen@simple.dallas.tx.us> | 2016-11-18 02:52:13 +0000 |
commit | 2c81e2ffa988591e0d893df0333fc13f69633133 (patch) | |
tree | 6e8c3fb6130fcf85b95fa71f3b0946d34d7c3385 | |
parent | ca5b774b0c907938b671420c157f36475693181d (diff) | |
download | libtiff-git-2c81e2ffa988591e0d893df0333fc13f69633133.tar.gz |
Cast away unused return value from snprintf() to possibly eliminate a compilation warning.
-rw-r--r-- | libtiff/tif_dirinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libtiff/tif_dirinfo.c b/libtiff/tif_dirinfo.c index 3d4f50f0..23ad0020 100644 --- a/libtiff/tif_dirinfo.c +++ b/libtiff/tif_dirinfo.c @@ -1,4 +1,4 @@ -/* $Id: tif_dirinfo.c,v 1.125 2016-01-23 21:20:34 erouault Exp $ */ +/* $Id: tif_dirinfo.c,v 1.126 2016-11-18 02:52:13 bfriesen Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -721,7 +721,7 @@ _TIFFCreateAnonField(TIFF *tif, uint32 tag, TIFFDataType field_type) * note that this name is a special sign to TIFFClose() and * _TIFFSetupFields() to free the field */ - snprintf(fld->field_name, 32, "Tag %d", (int) tag); + (void) snprintf(fld->field_name, 32, "Tag %d", (int) tag); return fld; } |