From 7ef3df046b7d74267af6c4ff966e7db9b2d9ed3f Mon Sep 17 00:00:00 2001 From: riccardom Date: Sat, 31 Oct 2009 17:09:45 +0000 Subject: [PATCH] Reorder field initialization to shut up gcc warnings. --- desmume/src/texcache.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/desmume/src/texcache.h b/desmume/src/texcache.h index b1b8dd2d1..723134328 100644 --- a/desmume/src/texcache.h +++ b/desmume/src/texcache.h @@ -14,14 +14,14 @@ class TexCacheItem { public: TexCacheItem() - : decoded(NULL) - , decode_len(0) + : decode_len(0) + , decoded(NULL) , next(NULL) , prev(NULL) , lockCount(0) - , cacheFormat(TexFormat_None) - , deleteCallback(NULL) , suspectedInvalid(false) + , deleteCallback(NULL) + , cacheFormat(TexFormat_None) {} ~TexCacheItem() { delete[] decoded;