Skip to content

Commit

Permalink
Remove useless code introduced for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
fspindle committed Nov 7, 2024
1 parent 5867bf9 commit ebcfcae
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/io/src/image/private/vpImageIoLibjpeg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ void writeJPEGLibjpeg(const vpImage<unsigned char> &I, const std::string &filena
}
jpeg_write_scanlines(&cinfo, &line, 1);
}
std::cout << "DEBUG FS - on est dans writeJPEGLibjpeg() 1" << std::endl; exit(-1);

jpeg_finish_compress(&cinfo);
jpeg_destroy_compress(&cinfo);
Expand Down Expand Up @@ -174,7 +173,6 @@ void writeJPEGLibjpeg(const vpImage<vpRGBa> &I, const std::string &filename, int
}
jpeg_write_scanlines(&cinfo, &line, 1);
}
std::cout << "DEBUG FS - on est dans writeJPEGLibjpeg() 2" << std::endl; exit(-1);
jpeg_finish_compress(&cinfo);
jpeg_destroy_compress(&cinfo);
delete[] line;
Expand Down

0 comments on commit ebcfcae

Please sign in to comment.