From da59e2fba9d09e5f6df3221ab19e09ccd07c314f Mon Sep 17 00:00:00 2001 From: "mats.palmgren%bredband.net" Date: Sat, 3 Jun 2006 19:24:05 +0000 Subject: [PATCH] Don't warn (in a debug build) when ALT attr is missing in markup. b=339281 r+sr=bzbarsky --- layout/base/nsCSSFrameConstructor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/layout/base/nsCSSFrameConstructor.cpp b/layout/base/nsCSSFrameConstructor.cpp index e17d71b29be..1da1198273e 100644 --- a/layout/base/nsCSSFrameConstructor.cpp +++ b/layout/base/nsCSSFrameConstructor.cpp @@ -2246,6 +2246,7 @@ nsCSSFrameConstructor::CreateGeneratedFrameFor(nsIFrame* aParentFram } else { *aFrame = nsnull; rv = NS_ERROR_NOT_AVAILABLE; + return rv; // Don't fall through to the warning below. } NS_ENSURE_SUCCESS(rv, rv); }