Enlightenment CVS committal
Author : doursse
Project : e17
Module : proto/epdf
Dir : e17/proto/epdf/src/lib
Modified Files:
epdf_page.cpp epdf_document.cpp
Log Message:
remove warnings
===================================================================
RCS file: /cvs/e/e17/proto/epdf/src/lib/epdf_page.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- epdf_page.cpp 20 Apr 2008 22:00:03 -0000 1.1
+++ epdf_page.cpp 21 Apr 2008 06:08:57 -0000 1.2
@@ -158,8 +158,6 @@
unsigned int *m = NULL;
double hscale;
double vscale;
- unsigned int val;
- int offset = 0;
int rotate;
int width;
int height;
===================================================================
RCS file: /cvs/e/e17/proto/epdf/src/lib/epdf_document.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- epdf_document.cpp 20 Apr 2008 22:00:03 -0000 1.1
+++ epdf_document.cpp 21 Apr 2008 06:08:57 -0000 1.2
@@ -16,6 +16,14 @@
#include "epdf_private.h"
#include "Epdf.h"
+
+#if HAVE___ATTRIBUTE__
+# define __UNUSED__ __attribute__((unused))
+#else
+# define __UNUSED__
+#endif
+
+
Epdf_Document *
epdf_document_new (const char *filename)
{
@@ -172,7 +180,7 @@
}
const char *
-epdf_document_info_get (Epdf_Document *document, const char *data)
+epdf_document_info_get (Epdf_Document *document __UNUSED__, const char *data
__UNUSED__)
{
return NULL;
}
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs