simplify static grab case statements

CID 1267213
This commit is contained in:
Mike Blumenkrantz 2016-02-29 10:15:37 -05:00
parent d6802e9c42
commit fd8cbcd9f0
1 changed files with 2 additions and 2 deletions

View File

@ -281,11 +281,11 @@ _e_static_grab_x(E_Static_Grab *grab)
switch (*current)
{
case 'R':
if (_e_static_grab_string(current, line->end, RELEASE_DATE, &grab->x.release_date)) break;
_e_static_grab_string(current, line->end, RELEASE_DATE, &grab->x.release_date);
break;
case 'B':
if (_e_static_grab_string(current, line->end, BUILD_DATE, &grab->x.build_date)) break;
_e_static_grab_string(current, line->end, BUILD_DATE, &grab->x.build_date);
break;
case '(':