Project

General

Profile

Bug #8813

rdsv3: variable 'timeo' set but not used

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
2017-11-18
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Debug build error from gcc 6:

    ../../common/io/ib/clients/rdsv3/rds_recv.c:460:7: error: variable 'timeo' set but not used [-Werror=unused-but-set-variable]
      long timeo;
           ^~~~~
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk over 2 years ago

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

git commit ea6a05275c5cbe13e3a79eb7efb3a0a097613149

commit  ea6a05275c5cbe13e3a79eb7efb3a0a097613149
Author: Toomas Soome <tsoome@me.com>
Date:   2017-12-13T19:37:28.000Z

    8813 rdsv3: variable 'timeo' set but not used
    Reviewed by: Ken Mays <maybird1776@yahoo.com>
    Reviewed by: Yuri Pankov <yuripv@gmx.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF