Permalink
Browse files

Bug 735985 - [PATCH] Fix missing unchecked return value in src/dot.cpp

  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Sep 23, 2014
1 parent 30870ef commit be0c23efcb902891e91bed42ab2ac27a6f1460cb
Showing with 5 additions and 1 deletion.
  1. +5 −1 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!
{

0 comments on commit be0c23e

Please sign in to comment.