diff options
author | Hib Eris <hib@hiberis.nl> | 2012-06-23 18:27:55 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2012-12-01 02:05:32 +0100 |
commit | aca122432951c4c0a2a5dbaba046d848f2153b84 (patch) | |
tree | cb6deb99cc8d2d47a6e3cb92d6f2bbd05ef67dda /glib | |
parent | c702066961b1cc2a9c0fb16546e9db93c312813b (diff) |
Fix compile warning on unused variable filename_g
Diffstat (limited to 'glib')
-rw-r--r-- | glib/poppler-document.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/poppler-document.cc b/glib/poppler-document.cc index 56703007..61d92e84 100644 --- a/glib/poppler-document.cc +++ b/glib/poppler-document.cc @@ -169,7 +169,6 @@ poppler_document_new_from_file (const char *uri, GError **error) { PDFDoc *newDoc; - GooString *filename_g; GooString *password_g; char *filename; @@ -198,6 +197,7 @@ poppler_document_new_from_file (const char *uri, newDoc = new PDFDoc(filenameW, length, password_g, password_g); delete [] filenameW; #else + GooString *filename_g; filename_g = new GooString (filename); newDoc = new PDFDoc(filename_g, password_g, password_g); #endif |