simplify static grab case statements

CID 1267213
devs/captainigloo/eglfs_rpi
Mike Blumenkrantz 7 years ago
parent d6802e9c42
commit fd8cbcd9f0
  1. 4
      src/bin/e_static_grab.c

@ -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 '(':

Loading…
Cancel
Save