From ca7211505ccabd47b819c1558b43d15f9c614b83 Mon Sep 17 00:00:00 2001 From: "cls%seawood.org" Date: Wed, 12 Sep 2007 17:48:04 +0000 Subject: [PATCH] Make --without-dbgrinfo-modules work properly. Fixes for platforms without REPEATING_TIMERS (BeOS). r=pavlov a=leaf --- suite/browser/src/nsBookmarksService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suite/browser/src/nsBookmarksService.cpp b/suite/browser/src/nsBookmarksService.cpp index 308d5fd97bd..543d8c607c9 100644 --- a/suite/browser/src/nsBookmarksService.cpp +++ b/suite/browser/src/nsBookmarksService.cpp @@ -2209,6 +2209,7 @@ void nsBookmarksService::FireTimer(nsITimer* aTimer, void* aClosure) { nsBookmarksService *bmks = NS_STATIC_CAST(nsBookmarksService *, aClosure); + nsresult rv; if (!bmks) return; if ((bmks->mBookmarksAvailable == PR_TRUE) && (bmks->mDirty == PR_TRUE)) @@ -2218,7 +2219,6 @@ nsBookmarksService::FireTimer(nsITimer* aTimer, void* aClosure) if (bmks->busySchedule == PR_FALSE) { - nsresult rv; nsCOMPtr bookmark; if (NS_SUCCEEDED(rv = bmks->GetBookmarkToPing(getter_AddRefs(bookmark))) && (bookmark)) {