Skip to content

Commit 246e73e

Browse files
committed
framework: fix a debug output not protected by is_debug() check
1 parent b9aa4f2 commit 246e73e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

panda/src/framework/pandaFramework.cxx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1334,8 +1334,10 @@ event_window_event(const Event *event, void *data) {
13341334
// Is this a window we've heard about?
13351335
int window_index = self->find_window(win);
13361336
if (window_index == -1) {
1337-
framework_cat.debug()
1338-
<< "Ignoring message from unknown window.\n";
1337+
if (framework_cat.is_debug()) {
1338+
framework_cat.debug()
1339+
<< "Ignoring message from unknown window.\n";
1340+
}
13391341

13401342
} else {
13411343
if (!win->is_valid()) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy