[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libextractor] 22/27: remove useless assignment
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libextractor] 22/27: remove useless assignment |
Date: |
Sun, 15 Oct 2017 21:34:46 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository libextractor.
commit ae35eccea287974e2e157c0b5d2109463ae63db8
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Oct 15 20:58:34 2017 +0200
remove useless assignment
---
src/plugins/ogg_extractor.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/plugins/ogg_extractor.c b/src/plugins/ogg_extractor.c
index 6b7db49f..d7005ef4 100644
--- a/src/plugins/ogg_extractor.c
+++ b/src/plugins/ogg_extractor.c
@@ -75,7 +75,7 @@ read_ogg (void *ptr, size_t size, size_t nmemb, void
*datasource)
* @param whence how to seek
* @return -1 on error, new position on success
*/
-static int
+static int
seek_ogg (void *datasource,
ogg_int64_t offset,
int whence)
@@ -92,7 +92,7 @@ seek_ogg (void *datasource,
* Tell ogg where we are in the file
*
* @param datasource the 'struct EXTRACTOR_ExtractContext'
- * @return
+ * @return
*/
static long
tell_ogg (void *datasource)
@@ -114,7 +114,7 @@ tell_ogg (void *datasource)
* @return NULL on error, otherwise the meta data
*/
static char *
-get_comment (vorbis_comment *vc,
+get_comment (vorbis_comment *vc,
const char *label)
{
if (NULL == vc)
@@ -176,7 +176,6 @@ EXTRACTOR_ogg_extract_method (struct
EXTRACTOR_ExtractContext *ec)
ov_clear (&vf);
return;
}
- ret = 0;
ADD (EXTRACTOR_METATYPE_MIMETYPE, "application/ogg");
if ((comments->vendor != NULL) && (strlen (comments->vendor) > 0))
ADD (EXTRACTOR_METATYPE_VENDOR, comments->vendor);
@@ -202,4 +201,3 @@ FINISH:
}
/* end of ogg_extractor.c */
-
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [libextractor] 19/27: need isspace, not isblank for rpm extractor, (continued)
- [GNUnet-SVN] [libextractor] 19/27: need isspace, not isblank for rpm extractor, gnunet, 2017/10/15
- [GNUnet-SVN] [libextractor] 17/27: handle allocation failure in PDF fdopen call, gnunet, 2017/10/15
- [GNUnet-SVN] [libextractor] 18/27: do not try to seek on SHM if we do not use SHM, even if (bad) plugin requests it, gnunet, 2017/10/15
- [GNUnet-SVN] [libextractor] 10/27: be more careful with memory allocation failures in gsf extractor, avoid calling g_free(NULL), gnunet, 2017/10/15
- [GNUnet-SVN] [libextractor] 20/27: fix signed/unsigned comparison issue, gnunet, 2017/10/15
- [GNUnet-SVN] [libextractor] 21/27: handle IPC_shared_memory_set_ error, gnunet, 2017/10/15
- [GNUnet-SVN] [libextractor] 25/27: avoid NPE on empty value in grep-friendly printing, gnunet, 2017/10/15
- [GNUnet-SVN] [libextractor] 12/27: fix NPE in extract for 0-byte values, gnunet, 2017/10/15
- [GNUnet-SVN] [libextractor] 07/27: doxygen improvements, gnunet, 2017/10/15
- [GNUnet-SVN] [libextractor] 26/27: check return values from dup2(), gnunet, 2017/10/15
- [GNUnet-SVN] [libextractor] 22/27: remove useless assignment,
gnunet <=
- [GNUnet-SVN] [libextractor] 24/27: avoid calling free(NULL) on plugin load error, gnunet, 2017/10/15
- [GNUnet-SVN] [libextractor] 27/27: update gitignore, gnunet, 2017/10/15
- [GNUnet-SVN] [libextractor] 23/27: extra-carefully check return value of snprintf, gnunet, 2017/10/15