[Bug 39556] New: Dead code in DIALOG_CreateControls32

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Nov 5 22:03:04 CST 2015


https://bugs.winehq.org/show_bug.cgi?id=39556

            Bug ID: 39556
           Summary: Dead code in DIALOG_CreateControls32
           Product: Wine
           Version: 1.7.54
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: user32
          Assignee: wine-bugs at winehq.org
          Reporter: alexhenrie24 at gmail.com
      Distribution: ---

DIALOG_CreateControls32 sets hwndDefButton to 0, then checks if
(hwndDefButton), then sets hwndDefButton to hwndCtrl. The code would do the
exact same thing if everything related to hwndDefButton was deleted.

https://source.winehq.org/git/wine.git/blob/cbaab82d086e36dacaa22c6adf80f9114bb820fb:/dlls/user32/dialog.c#l248

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list