[PATCH] mshtml: print initialized anchor (Coverity)
Marcus Meissner
marcus at jet.franken.de
Sat Sep 15 11:56:26 CDT 2012
Hi,
move the TRACE to the point where target is initialized.
Ciao, Marcus
---
dlls/mshtml/htmlanchor.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/htmlanchor.c b/dlls/mshtml/htmlanchor.c
index 2243954..fac2d63 100644
--- a/dlls/mshtml/htmlanchor.c
+++ b/dlls/mshtml/htmlanchor.c
@@ -86,9 +86,8 @@ static HRESULT navigate_anchor(HTMLAnchorElement *This)
if(NS_SUCCEEDED(nsres)) {
const PRUnichar *target;
- TRACE("target %s\n", debugstr_w(target));
-
nsAString_GetData(&target_str, &target);
+ TRACE("target %s\n", debugstr_w(target));
if(*target && strcmpiW(target, _selfW)) {
if(!strcmpiW(target, _topW)) {
TRACE("target _top\n");
--
1.7.3.4
More information about the wine-patches
mailing list