gnunet-svn
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]