From: ishmal Date: Sun, 22 Apr 2007 00:20:14 +0000 (+0000) Subject: remove warnings X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b8b98f45263a04ffa0b8ced2978f215de275d2aa;p=inkscape.git remove warnings --- diff --git a/src/extension/internal/emf-win32-inout.cpp b/src/extension/internal/emf-win32-inout.cpp index b9d65f50c..eb4995885 100644 --- a/src/extension/internal/emf-win32-inout.cpp +++ b/src/extension/internal/emf-win32-inout.cpp @@ -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: diff --git a/src/extension/internal/pdf-cairo.cpp b/src/extension/internal/pdf-cairo.cpp index 0b500864d..17de2e5f6 100644 --- a/src/extension/internal/pdf-cairo.cpp +++ b/src/extension/internal/pdf-cairo.cpp @@ -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;