Code Health: duplicate end of statement semicolon #1532

Closed
opened 2026-01-30 22:29:40 +00:00 by claunia · 1 comment
Owner

Originally created by @dlong11 on GitHub (Jun 6, 2019).

Originally assigned to: @adiviness on GitHub.

Very Minor cleanup. duplicate end of statement semicolon

  • src\host\conareainfo.cpp(187):
    SMALL_RECT OldRegion = _caInfo.rcViewCaWindow;;
    
  • src\host\consoleInformation.cpp(388):
    ci.Attributes = GenerateLegacyAttributes(attr);;
    
  • src\interactivity\base\InteractivityFactory.cpp(349):
    NTSTATUS status = ApiDetector::DetectNtUserWindow(&level);;
    
  • src\interactivity\win32\screenInfoUiaProvider.cpp(534):
    HRESULT hr = S_OK;;
    
  • src\interactivity\win32\UiaTextRange.cpp(151):
    UiaTextRange* range = nullptr;;
    

src\host\conareainfo.cpp(187): SMALL_RECT OldRegion = _caInfo.rcViewCaWindow;;
src\host\consoleInformation.cpp(388): ci.Attributes = GenerateLegacyAttributes(attr);;
src\interactivity\base\InteractivityFactory.cpp(349): NTSTATUS status = ApiDetector::DetectNtUserWindow(&level);;
src\interactivity\win32\screenInfoUiaProvider.cpp(534): HRESULT hr = S_OK;;
src\interactivity\win32\UiaTextRange.cpp(151): UiaTextRange* range = nullptr;;

Found in the clang-format PR #1141

Originally created by @dlong11 on GitHub (Jun 6, 2019). Originally assigned to: @adiviness on GitHub. Very Minor cleanup. duplicate end of statement semicolon * [x] `src\host\conareainfo.cpp(187)`: ```c++ SMALL_RECT OldRegion = _caInfo.rcViewCaWindow;; ``` * [x] `src\host\consoleInformation.cpp(388)`: ```c++ ci.Attributes = GenerateLegacyAttributes(attr);; ``` * [x] `src\interactivity\base\InteractivityFactory.cpp(349)`: ```c++ NTSTATUS status = ApiDetector::DetectNtUserWindow(&level);; ``` * [x] `src\interactivity\win32\screenInfoUiaProvider.cpp(534)`: ```c++ HRESULT hr = S_OK;; ``` * [x] `src\interactivity\win32\UiaTextRange.cpp(151)`: ```c++ UiaTextRange* range = nullptr;; ``` src\host\conareainfo.cpp(187): SMALL_RECT OldRegion = _caInfo.rcViewCaWindow;; src\host\consoleInformation.cpp(388): ci.Attributes = GenerateLegacyAttributes(attr);; src\interactivity\base\InteractivityFactory.cpp(349): NTSTATUS status = ApiDetector::DetectNtUserWindow(&level);; src\interactivity\win32\screenInfoUiaProvider.cpp(534): HRESULT hr = S_OK;; src\interactivity\win32\UiaTextRange.cpp(151): UiaTextRange* range = nullptr;; Found in the clang-format PR #1141
claunia added the Product-ConhostIssue-TaskNeeds-Tag-FixArea-CodeHealth labels 2026-01-30 22:29:40 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Nov 22, 2021):

Hey look, these have all been cleaned up already. Neat! Probably by clang-format.

@zadjii-msft commented on GitHub (Nov 22, 2021): Hey look, these have all been cleaned up already. Neat! Probably by clang-format.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#1532