evas: remove warnings due to unused variables from gl_cocoa backend.
authorNicolas Aguirre <aguirre.nicolas@gmail.com>
Thu, 29 Jan 2015 16:09:42 +0000 (17:09 +0100)
committerCedric BAIL <cedric@osg.samsung.com>
Thu, 12 Mar 2015 06:43:58 +0000 (07:43 +0100)
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/modules/evas/engines/gl_cocoa/evas_gl_cocoa_main.m

index aa6b895..67b9453 100644 (file)
@@ -55,14 +55,10 @@ eng_window_new(void *window,
               int      h)
 {
    Evas_GL_Cocoa_Window *gw;
-   int context_attrs[3];
-   int config_attrs[20];
-   int major_version, minor_version;
-   int num_config;
 
    gw = calloc(1, sizeof(Evas_GL_Cocoa_Window));
    if (!gw) return NULL;
+
    _evas_gl_cocoa_window = gw;
    gw->window = window;
    gw->view = [[EvasGLView alloc] initWithFrame:NSMakeRect(0,0,w,h)];
@@ -110,7 +106,7 @@ eng_window_swap_buffers(Evas_GL_Cocoa_Window *gw)
 }
 
 void
-eng_window_vsync_set(int on)
+eng_window_vsync_set(int on EINA_UNUSED)
 {
 
 }