[aravis] tests: fix compilation warnings in genicam unit test
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aravis] tests: fix compilation warnings in genicam unit test
- Date: Tue, 19 Aug 2014 22:22:00 +0000 (UTC)
commit c85c89fb2f959bf9d13c46f1b944ad9b52f633ff
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Wed Aug 20 00:21:35 2014 +0200
tests: fix compilation warnings in genicam unit test
tests/genicam.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/tests/genicam.c b/tests/genicam.c
index d179284..f4746e1 100644
--- a/tests/genicam.c
+++ b/tests/genicam.c
@@ -405,7 +405,6 @@ create_buffer_with_chunk_data (void)
{
ArvBuffer *buffer;
ArvChunkInfos *chunk_infos;
- GString *string;
const char *data;
size_t size;
guint32 *int_value;
@@ -440,7 +439,7 @@ create_buffer_with_chunk_data (void)
chunk_infos->id = GUINT32_TO_BE (0x44444444);
chunk_infos->size = GUINT32_TO_BE (64);
- g_assert (offset = 64);
+ g_assert (offset == 64);
#if 0
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]