summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2012-08-10 09:18:57 +0000
committerStefan Schmidt <stefan@datenfreihafen.org>2012-08-10 09:18:57 +0000
commitad8e7a7e8c815c033d9676bc35c65372d3ad96f9 (patch)
treef101d3408047e8728ecd512b097453eef29a762b /src
parent4311466d1a6561380a218b215ca5b835b643803a (diff)
expedite: Remove unused vars and paramater copy and pasted around
SVN revision: 75075
Diffstat (limited to 'src')
-rw-r--r--src/bin/engine_fb.c3
-rw-r--r--src/bin/engine_gl_x11.c3
-rw-r--r--src/bin/engine_software_xlib.c3
3 files changed, 3 insertions, 6 deletions
diff --git a/src/bin/engine_fb.c b/src/bin/engine_fb.c
index 3f7c9ee..863487a 100644
--- a/src/bin/engine_fb.c
+++ b/src/bin/engine_fb.c
@@ -3,10 +3,9 @@
3#include <Evas_Engine_FB.h> 3#include <Evas_Engine_FB.h>
4 4
5Eina_Bool 5Eina_Bool
6engine_fb_args(const char *engine, int width, int height) 6engine_fb_args(const char *engine __UNUSED__, int width __UNUSED__, int height __UNUSED__)
7{ 7{
8 Evas_Engine_Info_FB *einfo; 8 Evas_Engine_Info_FB *einfo;
9 int i;
10 9
11 evas_output_method_set(evas, evas_render_method_lookup("fb")); 10 evas_output_method_set(evas, evas_render_method_lookup("fb"));
12 einfo = (Evas_Engine_Info_FB *)evas_engine_info_get(evas); 11 einfo = (Evas_Engine_Info_FB *)evas_engine_info_get(evas);
diff --git a/src/bin/engine_gl_x11.c b/src/bin/engine_gl_x11.c
index aa4cc33..fb57e70 100644
--- a/src/bin/engine_gl_x11.c
+++ b/src/bin/engine_gl_x11.c
@@ -10,13 +10,12 @@ static Window win = 0;
10static int first_expose = 0; 10static int first_expose = 0;
11 11
12Eina_Bool 12Eina_Bool
13engine_gl_x11_args(const char *engine, int width, int height) 13engine_gl_x11_args(const char *engine __UNUSED__, int width, int height)
14{ 14{
15 XSetWindowAttributes attr; 15 XSetWindowAttributes attr;
16 XClassHint chint; 16 XClassHint chint;
17 XSizeHints szhints; 17 XSizeHints szhints;
18 Evas_Engine_Info_GL_X11 *einfo; 18 Evas_Engine_Info_GL_X11 *einfo;
19 int i;
20 19
21 disp = XOpenDisplay(NULL); 20 disp = XOpenDisplay(NULL);
22 if (!disp) return EINA_FALSE; 21 if (!disp) return EINA_FALSE;
diff --git a/src/bin/engine_software_xlib.c b/src/bin/engine_software_xlib.c
index e002df6..e2ba397 100644
--- a/src/bin/engine_software_xlib.c
+++ b/src/bin/engine_software_xlib.c
@@ -10,13 +10,12 @@ static Window win = 0;
10static int first_expose = 0; 10static int first_expose = 0;
11 11
12Eina_Bool 12Eina_Bool
13engine_software_xlib_args(const char *engine, int width, int height) 13engine_software_xlib_args(const char *engine __UNUSED__, int width, int height)
14{ 14{
15 XSetWindowAttributes attr; 15 XSetWindowAttributes attr;
16 XClassHint chint; 16 XClassHint chint;
17 XSizeHints szhints; 17 XSizeHints szhints;
18 Evas_Engine_Info_Software_X11 *einfo; 18 Evas_Engine_Info_Software_X11 *einfo;
19 int i;
20 19
21 disp = XOpenDisplay(NULL); 20 disp = XOpenDisplay(NULL);
22 if (!disp) return EINA_FALSE; 21 if (!disp) return EINA_FALSE;