Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/orc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosep Torra <jtorra@oblong.com>2016-07-24 19:09:50 +0300
committerJosep Torra <jtorra@oblong.com>2016-07-24 19:09:50 +0300
commit70c020aa8fc1baf86bdb3861bd4ff1cda64ffbd4 (patch)
tree47cc93a576ac59fbb1e97f65fcfcf8e44ecb7bb4 /orc-test/orctest.c
parentc471352db4764bdcc24223338639e4c3f52b3e51 (diff)
tests: fix a warning spotted when building in osx
orctest.c:730:19: error: logical not is only applied to the left hand side of this comparison if (!float_compare (dest_emul[l-ORC_VAR_D1], dest_exec[l-ORC_VAR_D1], i, j) != 0) { It seems some sort of typo. Fixing by removing the potentially leftover condition.
Diffstat (limited to 'orc-test/orctest.c')
-rw-r--r--orc-test/orctest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/orc-test/orctest.c b/orc-test/orctest.c
index 975788e..2d07a35 100644
--- a/orc-test/orctest.c
+++ b/orc-test/orctest.c
@@ -727,7 +727,7 @@ orc_test_compare_output_full (OrcProgram *program, int flags)
if (flags & ORC_TEST_FLAGS_FLOAT) {
a = print_array_val_float (dest_emul[l-ORC_VAR_D1], i, j);
b = print_array_val_float (dest_exec[l-ORC_VAR_D1], i, j);
- if (!float_compare (dest_emul[l-ORC_VAR_D1], dest_exec[l-ORC_VAR_D1], i, j) != 0) {
+ if (!float_compare (dest_emul[l-ORC_VAR_D1], dest_exec[l-ORC_VAR_D1], i, j)) {
line_bad = TRUE;
}
} else {