weston/0001-wcap-snapshot-add-return-value.patch

24 lines
654 B
Diff

From c0fa6b98280419d041d930793b859939973aa5a2 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Mon, 9 Jul 2012 17:11:57 +0200
Subject: [PATCH] wcap-snapshot: add return value
Distro build with rpmlint aborts due to missing exit status.
---
wcap/wcap-snapshot.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/wcap/wcap-snapshot.c b/wcap/wcap-snapshot.c
index 660a027..01df7a2 100644
--- a/wcap/wcap-snapshot.c
+++ b/wcap/wcap-snapshot.c
@@ -80,4 +80,5 @@ int main(int argc, char *argv[])
decoder->width, decoder->height, i);
wcap_decoder_destroy(decoder);
+ return EXIT_SUCCESS;
}
--
1.7.7