summaryrefslogtreecommitdiff
path: root/examples/simple_talker
diff options
context:
space:
mode:
authorJean-Baptiste Maillet <jean-baptiste.maillet@parrot.com>2014-11-24 10:57:06 +0100
committerJean-Baptiste Maillet <jean-baptiste.maillet@parrot.com>2014-11-24 10:57:06 +0100
commit146b3e0c5df87dcdd010b1e1a72e23bc166bec54 (patch)
tree394bdcf58bae74da47b6d361759484443452cfb7 /examples/simple_talker
parentb0acf3865e31ac83045c2da3387dd160b1ce09b7 (diff)
downloadOpen-AVB-146b3e0c5df87dcdd010b1e1a72e23bc166bec54.tar.gz
Fix for Coverity CID71754 - Uninitialized scalar variable
Diffstat (limited to 'examples/simple_talker')
-rwxr-xr-xexamples/simple_talker/simple_talker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/simple_talker/simple_talker.c b/examples/simple_talker/simple_talker.c
index ad3925e4..37bf6d6c 100755
--- a/examples/simple_talker/simple_talker.c
+++ b/examples/simple_talker/simple_talker.c
@@ -634,6 +634,7 @@ int main(int argc, char *argv[])
a_packet.offset = 0;
a_packet.vaddr = a_page.dma_vaddr + a_packet.offset;
a_packet.len = packet_size;
+ a_packet.next = NULL;
free_packets = NULL;
seqnum = 0;
rtp_timestamp = 0; /* Should be random start */