Changeset 260ff50 in subsurface


Ignore:
Timestamp:
Dec 26, 2017, 4:12:45 PM (4 weeks ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
6372105
Parents:
76cb4bc
Message:

Cleanup: avoid accessing uninitialized variable

Coverity CID 208289

Signed-off-by: Dirk Hohndel <dirk@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/save-xml.c

    r46004c39 r260ff50  
    716716        void *git;
    717717        const char *branch, *remote;
    718         int error;
     718        int error = 0;
    719719
    720720        git = is_git_repository(filename, &branch, &remote, false);
Note: See TracChangeset for help on using the changeset viewer.