hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=78ec05cb0df6467e2f990ff96bcc4c09caf3b618

commit 78ec05cb0df6467e2f990ff96bcc4c09caf3b618
Author: Hermet Park <her...@hermet.pe.kr>
Date:   Sat Mar 5 11:34:46 2016 +0900

    get rid of compile warnings.
    
    use parentheses around assignment used as truth value.
---
 src/bin/console.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/console.c b/src/bin/console.c
index ebca8e4..92c1184 100644
--- a/src/bin/console.c
+++ b/src/bin/console.c
@@ -26,14 +26,14 @@ error_word_select(Evas_Object *console)
    char *error_token, *edc_token;
 
    //parse edc line
-   if (edc_token = strstr(console_text, "edc:"))
+   if ((edc_token = strstr(console_text, "edc:")))
      token_value_get(edc_token, "edc:", ' ', 0, error_line);
    else return;
 
    //parse error word
-   if (error_token = strstr(console_text, "keyword"))
+   if ((error_token = strstr(console_text, "keyword")))
      token_value_get(error_token, "keyword", '<', 1, error_word);
-   else if (error_token = strstr(console_text, "name"))
+   else if ((error_token = strstr(console_text, "name")))
      token_value_get(error_token, "name", '<', 1, error_word);
    else return;
 

-- 


Reply via email to