mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
Merge "main/strings: Fix uninitialized value." into 13
This commit is contained in:
@@ -314,7 +314,7 @@ regex:
|
||||
}
|
||||
|
||||
equals:
|
||||
scan_numeric = (sscanf(left, "%lf", &left_num) && sscanf(internal_right, "%lf", &right_num));
|
||||
scan_numeric = (sscanf(left, "%lf", &left_num) > 0 && sscanf(internal_right, "%lf", &right_num) > 0);
|
||||
|
||||
if (internal_op[0] == '=') {
|
||||
if (ast_strlen_zero(left) && ast_strlen_zero(internal_right)) {
|
||||
|
Reference in New Issue
Block a user