summaryrefslogtreecommitdiffstats
path: root/src/dot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dot.cpp')
-rw-r--r--src/dot.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/dot.cpp b/src/dot.cpp
index 27e559f..66ec988 100644
--- a/src/dot.cpp
+++ b/src/dot.cpp
@@ -609,14 +609,11 @@ static void checkDotResult(const QCString &imgName)
{
if (Config_getEnum("DOT_IMAGE_FORMAT")=="png")
{
- //QFile f(imgName);
FILE *f = fopen(imgName,"rb");
- //if (f.open(IO_ReadOnly))
if (f)
{
char data[4];
if (fread(data,1,4,f)==4)
- //if (f.readBlock(data,4)==4)
{
if (!(data[1]=='P' && data[2]=='N' && data[3]=='G'))
{