Project

General

Profile

Actions

Bug #8837

closed

libsmedia: variable 'retformat' set but not used

Added by Toomas Soome almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2017-11-21
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Debug build error from gcc 6:

    ../common/s_generic.c: In function '_m_media_format':
    ../common/s_generic.c:369:22: error: variable 'retformat' set but not used [-Werror=unused-but-set-variable]
      smedia_retformat_t *retformat;
                          ^~~~~~~~~
    cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk almost 4 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 100ea781a0fa9beb2f6704a2e6f207a83aa2a853

commit  100ea781a0fa9beb2f6704a2e6f207a83aa2a853
Author: Toomas Soome <tsoome@me.com>
Date:   2017-11-27T16:05:34.000Z

    8837 libsmedia: variable 'retformat' set but not used
    Reviewed by: Yuri Pankov <yuripv@gmx.com>
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF