Navigation Menu

Skip to content

Commit

Permalink
Bug 735985 - [PATCH] Fix missing unchecked return value in src/dot.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Sep 23, 2014
1 parent 30870ef commit be0c23e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/dot.cpp
Expand Up @@ -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!
{
Expand Down

0 comments on commit be0c23e

Please sign in to comment.