mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
Merge pull request #23109 from seanm:misc-warnings
* Fixed clang -Wnewline-eof warnings * Fixed all trivial clang -Wextra-semi and -Wc++98-compat-extra-semi warnings * Removed trailing semi from various macros * Fixed various -Wunused-macros warnings * Fixed some trivial -Wdocumentation warnings * Fixed some -Wdocumentation-deprecated-sync warnings * Fixed incorrect indentation * Suppressed some clang warnings in 3rd party code * Fixed QRCodeEncoder::Params documentation. --------- Co-authored-by: Alexander Smorkalov <alexander.smorkalov@xperience.ai>
This commit is contained in:
@@ -638,9 +638,6 @@ public:
|
||||
#undef is_lower_bound
|
||||
#define is_lower_bound(i) (alpha_status[i] < 0)
|
||||
|
||||
#undef is_free
|
||||
#define is_free(i) (alpha_status[i] == 0)
|
||||
|
||||
#undef get_C
|
||||
#define get_C(i) (C[y[i]>0])
|
||||
|
||||
@@ -648,9 +645,6 @@ public:
|
||||
#define update_alpha_status(i) \
|
||||
alpha_status[i] = (schar)(alpha[i] >= get_C(i) ? 1 : alpha[i] <= 0 ? -1 : 0)
|
||||
|
||||
#undef reconstruct_gradient
|
||||
#define reconstruct_gradient() /* empty for now */
|
||||
|
||||
bool solve_generic( SolutionInfo& si )
|
||||
{
|
||||
const schar* y = &y_vec[0];
|
||||
|
||||
Reference in New Issue
Block a user