Project

General

Profile

Actions

Bug #8823

closed

print: variable 'error' set but not used

Added by Toomas Soome about 6 years ago. Updated almost 6 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:
External Bug:

Description

Debug build error from gcc 6:

    ../common/psm.c: In function 'psm_sym':
    ../common/psm.c:82:8: error: variable 'error' set but not used [-Werror=unused-but-set-variable]
      char *error = "invalid input";
            ^~~~~
    cc1: all warnings being treated as errors

Actions

Also available in: Atom PDF