projects
/
profile
/
ivi
/
eina.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e36f377
)
err...always strcmp this not sure what I was thinking
author
discomfitor
<discomfitor>
Sat, 19 Mar 2011 00:15:42 +0000
(
00:15
+0000)
committer
discomfitor
<discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 19 Mar 2011 00:15:42 +0000
(
00:15
+0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@57864
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/eina_error.c
patch
|
blob
|
history
diff --git
a/src/lib/eina_error.c
b/src/lib/eina_error.c
index
34a85a5
..
0345bd5
100644
(file)
--- a/
src/lib/eina_error.c
+++ b/
src/lib/eina_error.c
@@
-480,11
+480,8
@@
eina_error_find(const char *msg)
if (_eina_errors[i].string == msg)
return i;
}
- else
- {
- if (!strcmp(_eina_errors[i].string, msg))
- return i;
- }
+ if (!strcmp(_eina_errors[i].string, msg))
+ return i;
}
return 0;
}