From f2ed47616f4f884a7ef41ed70cb54b82193970a5 Mon Sep 17 00:00:00 2001 From: John Scipione Date: Fri, 20 Jun 2014 18:01:24 -0400 Subject: [PATCH] Tracker: style fixes to IconCache --- src/kits/tracker/IconCache.cpp | 1 + src/kits/tracker/IconCache.h | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/kits/tracker/IconCache.cpp b/src/kits/tracker/IconCache.cpp index f16fca9f55..656f40e43a 100644 --- a/src/kits/tracker/IconCache.cpp +++ b/src/kits/tracker/IconCache.cpp @@ -1021,6 +1021,7 @@ IconCache::Preload(AutoLock* nodeCacheLocker, default: TRESPASS(); + break; } } diff --git a/src/kits/tracker/IconCache.h b/src/kits/tracker/IconCache.h index 571489ac8a..4244730c86 100644 --- a/src/kits/tracker/IconCache.h +++ b/src/kits/tracker/IconCache.h @@ -31,8 +31,8 @@ of Be Incorporated in the United States and other countries. Other brand product names are registered trademarks or trademarks of their respective holders. All rights reserved. */ -#ifndef __NU_ICON_CACHE__ -#define __NU_ICON_CACHE__ +#ifndef _NU_ICON_CACHE_H +#define _NU_ICON_CACHE_H // Icon cache is used for drawing node icons; it caches icons @@ -40,11 +40,11 @@ All rights reserved. #include +#include #include #include #include "AutoLock.h" -#include "ObjectList.h" #include "OpenHashTable.h" #include "Utilities.h" @@ -525,4 +525,5 @@ SharedIconCache::EntryIndex(const SharedCacheEntry* entry) const using namespace BPrivate; -#endif + +#endif // _NU_ICON_CACHE_H