chiark / gitweb /
Much better error handling.
[ypp-sc-tools.db-test.git] / pctb / structure.h
index c6a8c9a..008c183 100644 (file)
@@ -41,8 +41,7 @@ CanonImage *alloc_canon_image(int w, int h);
       }                                                                \
       if (DEBUGP(rect)) {                                      \
        fprintf(debug, "%4d ",y);                               \
-       int r= fwrite(im->d + y*w, 1,w, debug);                 \
-       eassert(r==w);                                          \
+       fwrite(im->d + y*w, 1,w, debug);                        \
        fputc('\n',debug);                                      \
       }                                                                \
     }                                                          \