]> git.lyx.org Git - lyx.git/blobdiff - src/ConverterCache.cpp
Fix SIGSEGV when introducing a new shortcut (#9869)
[lyx.git] / src / ConverterCache.cpp
index 1451f6e714f6b3cd7356d26c3fe744d6dd3e2afd..29d07e4a04a5b7ce05aca502cc1c4d17b712d7f9 100644 (file)
@@ -56,7 +56,7 @@ static FileName cache_dir;
 
 class CacheItem {
 public:
-       CacheItem() {}
+       CacheItem() : timestamp(0), checksum(0) {}
        CacheItem(FileName const & orig_from, string const & to_format,
                  time_t t, unsigned long c)
                : timestamp(t), checksum(c)
@@ -223,6 +223,7 @@ ConverterCache::~ConverterCache()
 }
 
 
+// FIXME THREAD
 ConverterCache & ConverterCache::get()
 {
        // Now return the cache