Opened 5 years ago

Closed 5 years ago

#14927 closed optimization (fixed)

[patch] cleanup not needed pointer variable in src/aui/auibook.cpp

Reported by: ettl.martin Owned by: vadz
Priority: normal Milestone:
Component: wxAui Version: stable-latest
Keywords: Cc:
Blocked By: Blocking:
Patch: yes


Please review the attached patch, it moves a pointer declaration into #if wxUSE_TOOLTIPS - section, because it is only used, when this configuration is set.

Best regards and many thanks

Martin Ettl

Attachments (1)

cleanup.patch download (449 bytes) - added by ettl.martin 5 years ago.
proposed patch

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by ettl.martin

proposed patch

comment:1 Changed 5 years ago by vadz

  • Owner set to vadz
  • Status changed from new to accepted

comment:2 Changed 5 years ago by VZ

  • Resolution set to fixed
  • Status changed from accepted to closed

(In [73288]) No changes, just avoid unused variable in wxUSE_TOOLTIPS==0 build.

Move the declaration of a variable only used for tooltip setting inside "#if

Closes #14927.

Note: See TracTickets for help on using tickets.