From ec9e2f901890930af72f12dcd9fb079e60d0cdba Mon Sep 17 00:00:00 2001 From: Philippe Saint-Pierre Date: Sun, 27 Nov 2011 17:39:51 -0500 Subject: [PATCH] No functional change, avoid confusion in Coverity about exceptions CID 9248, CID 9250, CID 10844, CID 10977, CID 10978, CID 10979, CID 10980, CID 10981, CID 10982, CID 10983 --- src/kits/tracker/Utilities.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kits/tracker/Utilities.h b/src/kits/tracker/Utilities.h index dbef7724dc..564efb560d 100644 --- a/src/kits/tracker/Utilities.h +++ b/src/kits/tracker/Utilities.h @@ -502,10 +502,10 @@ void ThrowOnInitCheckError(InitCheckable *item) { if (!item) - throw B_ERROR; + throw(status_t) B_ERROR; status_t error = item->InitCheck(); if (error != B_OK) - throw error; + throw(status_t) error; } #if DEBUG