• Timm Bäder's avatar
    filechooserwidget: Avoid an uninitialized value · f6ebc067
    Timm Bäder authored
    If the operation mode is OPERATION_MODE_RECENT and we end up in the
    'goto file_entry' case, we don't set info.result. Then later after
    calling check_save_entry, is_empty is TRUE which causes a goto out and
    here we then try to use info.result, which is uninitialized.
    
    Initialize info.result before doing all this.
    
    Found by scan-build
    f6ebc067
gtkfilechooserwidget.c 261 KB