Project

General

Profile

Actions

Bug #8831

closed

mpapi: variable 'status' set but not used

Added by Toomas Soome over 3 years ago. Updated over 3 years ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Debug build error from gcc 6:

    ../common/mpapi.c: In function 'InitLibrary':
    ../common/mpapi.c:264:17: error: variable 'status' set but not used [-Werror=unused-but-set-variable]
           MP_STATUS status;
                     ^~~~~~
    cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk over 3 years ago

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

git commit bb4d45692c48b2f803f7ec1f690be050a0b2bf05

commit  bb4d45692c48b2f803f7ec1f690be050a0b2bf05
Author: Toomas Soome <tsoome@me.com>
Date:   2017-11-27T16:04:05.000Z

    8831 mpapi: variable 'status' set but not used
    Reviewed by: Yuri Pankov <yuripv@gmx.com>
    Reviewed by: C Fraire <cfraire@me.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF