• P
    remote: dispatch: Remove return value from make_nonnull_* helpers · 694323bb
    Peter Krempa 提交于
    After conversion to g_strdup, the helpers now always return success.
    Remove the return value to simplify the callers.
    
    Note that many occurrences of these is in the code generated by
    gendispatch.pl. Since gendispatch aggregates many cases together an
    incremental conversion would require more invasive changes to
    gendispatch for the time of conversion which doesn't make sense.
    
    Also in many cases the helper was the last place where the 'error:'
    label was used and thus also those conversions must be included in this
    patch.
    Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
    ACKed-by: NEric Blake <eblake@redhat.com>
    694323bb
admin_server_dispatch.c 15.8 KB