From a6aa0c5f6df85ee2fcc158860ed09dbcbfeebae4 Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Tue, 25 Jan 2011 18:01:02 +0000 Subject: [PATCH] CID 91: Fix copy/paste error where the wrong variable was passed to an attribute read call, leading to unreachable code. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40288 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/mail/MailWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/mail/MailWindow.cpp b/src/apps/mail/MailWindow.cpp index d7f51f68d3..5c9801cd7a 100644 --- a/src/apps/mail/MailWindow.cpp +++ b/src/apps/mail/MailWindow.cpp @@ -3092,7 +3092,7 @@ TMailWindow::_BuildQueryString(BEntry* entry) const { int32 count = 1; if (node.ReadAttr(kAttrQueryInitialNumAttrs, B_INT32_TYPE, 0, - (int32 *)&mode, sizeof(int32)) <= 0) { + (int32 *)&count, sizeof(int32)) <= 0) { count = 1; }