Project

General

Profile

Actions

Bug #13416

closed

libprtdiag_psr: variable 'ap_args' set but not used

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

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

100%

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

Description

Build error on SPARC:

    common/serengeti.c: In function 'cpu_node_configured':
    common/serengeti.c:962:15: error: variable 'ap_args' set but not used [-Werror=u
    nused-but-set-variable]
      char *const *ap_args = NULL;
                   ^~~~~~~
    cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk over 2 years ago

  • Gerrit CR set to 1137
Actions #2

Updated by Electric Monk over 2 years ago

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

git commit aa35d5f200c519c3e5425cb26762e2d01ce2e66f

commit  aa35d5f200c519c3e5425cb26762e2d01ce2e66f
Author: Toomas Soome <tsoome@me.com>
Date:   2021-01-11T15:49:32.000Z

    13416 libprtdiag_psr: variable 'ap_args' set but not used
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF