summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-09-23 18:53:21 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-09-23 18:53:21 (GMT)
commitbe0c23efcb902891e91bed42ab2ac27a6f1460cb (patch)
tree654ee767685be83684e98b450c4cf824a717d519 /src
parent30870ef90f4a74e7c53a6856b10bcd2f16e4d1bd (diff)
downloadDoxygen-be0c23efcb902891e91bed42ab2ac27a6f1460cb.zip
Doxygen-be0c23efcb902891e91bed42ab2ac27a6f1460cb.tar.gz
Doxygen-be0c23efcb902891e91bed42ab2ac27a6f1460cb.tar.bz2
Bug 735985 - [PATCH] Fix missing unchecked return value in src/dot.cpp
Diffstat (limited to 'src')
-rw-r--r--src/dot.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dot.cpp b/src/dot.cpp
index b62a536..55e34df 100644
--- a/src/dot.cpp
+++ b/src/dot.cpp
@@ -1093,7 +1093,11 @@ bool DotFilePatcher::run()
Map *map = m_maps.at(mapId);
//printf("patching FIG %d in file %s with contents of %s\n",
// mapId,m_patchFile.data(),map->mapFile.data());
- writeVecGfxFigure(t,map->label,map->mapFile);
+ if (!writeVecGfxFigure(t,map->label,map->mapFile))
+ {
+ err("problem writing Gfx %d figure!\n",t);
+ return FALSE;
+ }
}
else // error invalid map id!
{