Project

General

Profile

Actions

Bug #9040

closed

libnsl: unused local typedef in rpc code

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

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

100%

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

Description

Issue found by gcc 6:

../rpc/xdr_sizeof.c: In function 'xdr_sizeof':
../rpc/xdr_sizeof.c:133:21: error: typedef 'dummyfunc3' locally defined but not used [-Werror=unused-local-typedefs]
  typedef  bool_t (* dummyfunc3)(XDR *, int32_t *);
                     ^~~~~~~~~~
cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk over 4 years ago

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

git commit 7c80a9608efb5c2bb78fb923e352a01088239788

commit  7c80a9608efb5c2bb78fb923e352a01088239788
Author: Toomas Soome <tsoome@me.com>
Date:   2018-02-07T20:50:55.000Z

    9040 libnsl: unused local typedef in rpc code
    Reviewed by: Marcel Telka <marcel@telka.sk>
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Reviewed by: Yuri Pankov <yuripv@yuripv.net>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF