summaryrefslogtreecommitdiff
path: root/src/tests/ecore
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2019-06-19 10:19:49 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-06-19 10:19:49 +0200
commit2b7d26790acc3f523a50a1ea9f5bff70a54dffad (patch)
tree241c0870cb331639b2087a71b5269b69aadf32d5 /src/tests/ecore
parent969c7f72877c3cd67fcbaf947d9873bf442402de (diff)
Fix miscellaneous build warnings
Nothing serious, but they were driving me mad.
Diffstat (limited to 'src/tests/ecore')
-rw-r--r--src/tests/ecore/ecore_test_ecore_thread_eina_thread_queue.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/ecore/ecore_test_ecore_thread_eina_thread_queue.c b/src/tests/ecore/ecore_test_ecore_thread_eina_thread_queue.c
index cc1ddb1eb9..cb3985b9a4 100644
--- a/src/tests/ecore/ecore_test_ecore_thread_eina_thread_queue.c
+++ b/src/tests/ecore/ecore_test_ecore_thread_eina_thread_queue.c
@@ -657,7 +657,8 @@ EFL_START_TEST(ecore_test_ecore_thread_eina_thread_queue_t7)
657 { 657 {
658 char buf; 658 char buf;
659 659
660 read(p[0], &buf, 1); 660 if (read(p[0], &buf, 1) != 1)
661 if (DEBUG) printf("Error reading from pipe\n");
661 msg = eina_thread_queue_wait(thq1, &ref); 662 msg = eina_thread_queue_wait(thq1, &ref);
662 if (msg) 663 if (msg)
663 { 664 {