summaryrefslogtreecommitdiff
path: root/src/lib/ecore/ecore_getopt.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-08-27 11:48:43 +0100
committerTom Hacohen <tom@stosb.com>2014-08-27 11:50:14 +0100
commit27f738115eb269340d56167ae93f66a6eeb2d514 (patch)
tree82733f776a622e8684a290b0e8551f85ed56e16f /src/lib/ecore/ecore_getopt.c
parent2f249a6436580bf9839f409f4c5f224e6b50eba2 (diff)
Revert "ecore_getopt - fix possible null arg"
This breaks terminology, look at the previous commit for more info. This reverts commit d8130825d5a0c2bb45c7212a4885afbc07f2392e.
Diffstat (limited to 'src/lib/ecore/ecore_getopt.c')
-rw-r--r--src/lib/ecore/ecore_getopt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/ecore/ecore_getopt.c b/src/lib/ecore/ecore_getopt.c
index d242400db4..ea4e69b5b8 100644
--- a/src/lib/ecore/ecore_getopt.c
+++ b/src/lib/ecore/ecore_getopt.c
@@ -1789,9 +1789,7 @@ _ecore_getopt_parse_arg_short(const Ecore_Getopt *parser,
1789 1789
1790 desc_idx = desc - parser->descs; 1790 desc_idx = desc - parser->descs;
1791 value = values + desc_idx; 1791 value = values + desc_idx;
1792 if (arg_val) 1792 ret = _ecore_getopt_desc_handle(parser, desc, value, arg_val);
1793 ret = _ecore_getopt_desc_handle(parser, desc, value, arg_val);
1794 else ret = EINA_FALSE;
1795 if ((!ret) && parser->strict) 1793 if ((!ret) && parser->strict)
1796 return EINA_FALSE; 1794 return EINA_FALSE;
1797 } 1795 }