but cause of this
i got the new warnings.

build.c: In function ‘build_edc’:
build.c:38:37: warning: ignoring return value of ‘open_memstream’, declared 
with attribute warn_unused_result [-Wunused-result]
build.c:40:24: warning: ignoring return value of ‘system’, declared with 
attribute warn_unused_result [-Wunused-result]


------------------------------------
-Regards, Hermet-
-----Original Message-----
From: "Daniel Juyung Seo"<[email protected]> 
To: <[email protected]>; 
Cc: 
Sent: 2014-02-03 (월) 20:40:17
Subject: [EGIT] [tools/enventor] master 01/02: enventor - fixed build warnings.

seoz pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=7c5c7dd99948c506756c69d282db13e6d20b49c8

commit 7c5c7dd99948c506756c69d282db13e6d20b49c8
Author: Daniel Juyung Seo <juyung.seo>@samsung.com>
Date:   Mon Feb 3 20:34:33 2014 +0900

    enventor - fixed build warnings.
---
 src/bin/build.c          4 ++--
 src/bin/panes.c          4 ++--
 src/include/Makefile.am  1 +
 src/include/common.h     1 +
 src/include/main.h       1 +
 5 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/bin/build.c b/src/bin/build.c
index da7be24..72ca922 100644
--- a/src/bin/build.c
+++ b/src/bin/build.c
@@ -35,9 +35,9 @@ build_edc()
 {
    char *bp = NULL;
    size_t size;
-   FILE *stream = open_memstream(&bp, &size);
+   /*FILE *stream =*/ open_memstream(&bp, &size);
    //stderr = &(*stream);
-   int ret = system(EDJE_CC_CMD);
+   /*int ret =*/ system(EDJE_CC_CMD);
 
   // if (bp)
   // printf("@@@@ buf = %s, size = %d\n", bp, size);
diff --git a/src/bin/panes.c b/src/bin/panes.c
index 570cc88..160bbcf 100644
--- a/src/bin/panes.c
+++ b/src/bin/panes.c
@@ -66,7 +66,8 @@ panes_full_view_cancel(panes_data *pd)
 }
 
 static void
-hotkeys_clicked_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
+hotkeys_clicked_cb(void *data, Evas_Object *obj EINA_UNUSED,
+                   void *event_info EINA_UNUSED)
 {
    app_data *ad = data;
    hotkey_toggle(ad);
@@ -170,7 +171,6 @@ Evas_Object *
 panes_create(Evas_Object *parent, app_data *ad)
 {
    Evas_Object *img;
-   char buf[PATH_MAX];
 
    panes_data *pd = malloc(sizeof(panes_data));
 
diff --git a/src/include/Makefile.am b/src/include/Makefile.am
index 7f79d22..0b7408b 100644
--- a/src/include/Makefile.am
+++ b/src/include/Makefile.am
@@ -1,6 +1,7 @@
 MAINTAINERCLEANFILES = Makefile.in
 
 EXTRA_DIST = common.h \
+main.h \
 config_data.h \
 dummy_obj.h \
 edc_editor.h \
diff --git a/src/include/common.h b/src/include/common.h
index 72345a0..a218bcb 100644
--- a/src/include/common.h
+++ b/src/include/common.h
@@ -13,6 +13,7 @@ typedef struct syntax_helper_s syntax_helper;
 typedef struct indent_s indent_data;
 typedef struct edj_mgr_s edj_mgr;
 
+#include "main.h"
 #include "edc_editor.h"
 #include "menu.h"
 #include "edj_viewer.h"
diff --git a/src/include/main.h b/src/include/main.h
new file mode 100644
index 0000000..2fff4e6
--- /dev/null
+++ b/src/include/main.h
@@ -0,0 +1 @@
+void hotkey_toggle(app_data *ad);

-- 



------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to