Code

remove warnings
authorishmal <ishmal@users.sourceforge.net>
Sun, 22 Apr 2007 00:20:14 +0000 (00:20 +0000)
committerishmal <ishmal@users.sourceforge.net>
Sun, 22 Apr 2007 00:20:14 +0000 (00:20 +0000)
src/extension/internal/emf-win32-inout.cpp
src/extension/internal/pdf-cairo.cpp

index b9d65f50cd80409f11549dc44f2dac777b70dd7b..eb499588548c758c2b7ed05a34468460788421fd 100644 (file)
@@ -816,7 +816,7 @@ myEnhMetaFileProc(HDC hDC, HANDLETABLE *lpHTable, ENHMETARECORD *lpEMFR, int nOb
                     }
                 }
             } else {
-                if (index >= 0 && index < d->n_obj) {
+                if (index >= 0 && index < (unsigned int)d->n_obj) {
                     switch (d->emf_obj[index].type)
                     {
                         case EMR_CREATEPEN:
index 0b500864d14c189b1a9bab81a4b0adcac55adae5..17de2e5f64293369ae8db1960f4f46fe5eb14293 100644 (file)
@@ -808,7 +808,7 @@ unsigned int
 PrintCairoPDF::text(Inkscape::Extension::Print *mod, char const *text, NR::Point p,
               SPStyle const *const style)
 {
-    bool dirty_pattern = false;
+    //bool dirty_pattern = false;
 
     if (!_stream) return 0; // XXX: fixme, returning -1 as unsigned.
     if (_bitmap) return 0;