• Christian Kellner's avatar
    boltclt: config: re-factor 'action' dispatching · d232b261
    Christian Kellner authored
    The current code makes sure that 'action' is either _GET or _SET,
    and thus _UNKNOWN was redundant and the dispatching code for it
    was logically dead (CID 341492). Remove the _UNKNOWN enum value
    completely and don't initialize 'action' and thus rely in the
    compiler to check 'action' is properly initialized.
boltctl-config.c 8.74 KB