Skip to content

Fixed misleading indentation warning in intrin_cpp.hpp - #13298

Merged
opencv-pushbot merged 1 commit into
opencv:3.4from
mshabunin:fix-intrin-indent
Nov 27, 2018
Merged

opencv-pushbot merged 1 commit into
opencv:3.4from
mshabunin:fix-intrin-indent

Conversation

@mshabunin

Copy link
Copy Markdown
Contributor

This pullrequest changes

/opencv/modules/core/include/opencv2/core/hal/intrin_cpp.hpp:691:1: 
warning: this 'for' clause does not guard... [-Wmisleading-indentation]                                                    
 for (int i = 0; i < n; i++)                                                      
 ^~~                                                                    
/opencv/modules/core/include/opencv2/core/hal/intrin_cpp.hpp:693:5: 
note: ...this statement, but the latter is misleadingly indented as if it is 
guarded by the 'for'            
     return c;                                                   
     ^~~~~~ 

@mshabunin
mshabunin changed the base branch from master to 3.4 November 27, 2018 12:30
@mshabunin

Copy link
Copy Markdown
Contributor Author

Transferred to 3.4 branch.

@opencv-pushbot
opencv-pushbot merged commit 89f0e0a into opencv:3.4 Nov 27, 2018
@mshabunin
mshabunin deleted the fix-intrin-indent branch November 27, 2018 14:22
@alalek alalek mentioned this pull request Dec 3, 2018
SavyaSanchi-Sharma pushed a commit to SavyaSanchi-Sharma/opencv that referenced this pull request Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants