shithub: opusfile

Download patch

ref: ca7b681d040f78f41c37b9ae028103e9d7c4e538
parent: e8e3046572dd0369b8346a4af8e34d283b385c59
author: Mark Harris <mark.hsj@gmail.com>
date: Sun Jun 10 19:48:35 EDT 2018

op_tags_ensure_capacity: delete useless statement

Silence warning: Value stored to 'comment_lengths' is never read

--- a/src/info.c
+++ b/src/info.c
@@ -116,7 +116,6 @@
     Trimming requires cleaning up the allocated strings in the old space, and
      is best handled separately if it's ever needed.*/
   OP_ASSERT(_ncomments>=(size_t)cur_ncomments);
-  comment_lengths=_tags->comment_lengths;
   comment_lengths=(int *)_ogg_realloc(_tags->comment_lengths,size);
   if(OP_UNLIKELY(comment_lengths==NULL))return OP_EFAULT;
   if(_tags->comment_lengths==NULL){