summaryrefslogtreecommitdiffstats
path: root/save-xml.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-05 18:36:20 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-05 18:55:42 -0800
commitc365103029b194263c05a512889fa6efcc98c728 (patch)
treef7a02bc0a5fe6439f0af6e0fe0ffdf8f3c79163f /save-xml.c
parent4f4fff3917d6352d3d40f20a1b6a9b4c3132e8e8 (diff)
downloadsubsurface-c365103029b194263c05a512889fa6efcc98c728.tar.gz
Mark ignored error return as intentional
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'save-xml.c')
-rw-r--r--save-xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/save-xml.c b/save-xml.c
index 8fb68729c..56de154fe 100644
--- a/save-xml.c
+++ b/save-xml.c
@@ -605,7 +605,7 @@ static void save_backup(const char *name, const char *ext, const char *new_ext)
* maybe no old file existed. Regardless, we'll write the
* new file.
*/
- subsurface_rename(name, newname);
+ (void) subsurface_rename(name, newname);
free(newname);
}