diff options
| author | Jasper van de Gronde <jasper.vandegronde@gmail.com> | 2010-06-02 15:27:02 +0000 |
|---|---|---|
| committer | Jasper van de Gronde <th.v.d.gronde@hccnet.nl> | 2010-06-02 15:27:02 +0000 |
| commit | 5d03b48bf2fba4460164324b594b18cb5045fda7 (patch) | |
| tree | ffb08fb1bf4b3ef7f386e3085b405231d964b41c | |
| parent | Fix for bug #283769 (emergency save fails) (diff) | |
| download | inkscape-5d03b48bf2fba4460164324b594b18cb5045fda7.tar.gz inkscape-5d03b48bf2fba4460164324b594b18cb5045fda7.zip | |
Forgot explicit initialization of FILE*.
(bzr r9471)
| -rw-r--r-- | src/inkscape.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inkscape.cpp b/src/inkscape.cpp index 6361e36c1..c10581a91 100644 --- a/src/inkscape.cpp +++ b/src/inkscape.cpp @@ -644,7 +644,7 @@ inkscape_crash_handler (int /*signum*/) curdir, inkscapedir }; - FILE *file; + FILE *file = 0; for(size_t i=0; i<sizeof(locations)/sizeof(*locations); i++) { if (!locations[i]) continue; // It seems to be okay, but just in case gchar * filename = g_build_filename(locations[i], c, NULL); |
