Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 82185

Summary: poor quality source code
Product: [Retired] Red Hat Linux Reporter: d.binderman
Component: kppploadAssignee: Ngo Than <than>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: mgarski
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-12-18 19:23:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description d.binderman 2003-01-19 10:09:35 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.6 [en-gb]C-CCK-MCD  (Win98; I)

Description of problem:

Hello there,

I just tried to compile package kpppload-1.04-43 from Redhat 8.0

The compiler said

Options.cpp:98: warning: taking address of temporary
Options.cpp:103: warning: taking address of temporary

Here is an untested patch to shut up the compiler

*** ./kpppload/Options.cpp.old	2003-01-12 10:31:09.000000000 +0000
--- ./kpppload/Options.cpp	2003-01-12 10:32:32.000000000 +0000
*** 95,106 ****
  QColor Options::getRxColor()
!     return _config->readColorEntry( "rxColor", &QColor( "red" ) );
  QColor Options::getTxColor()
!     return _config->readColorEntry( "txColor", &QColor( "darkblue" ) );
  void Options::setShowTxRate( bool b )
--- 95,110 ----
  QColor Options::getRxColor()
!     QColor tmp( "red");
!     return _config->readColorEntry( "rxColor", & tmp);
  QColor Options::getTxColor()
!     QColor tmp( "darkblue" );
!     return _config->readColorEntry( "txColor", & tmp);
  void Options::setShowTxRate( bool b )

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. compile the program

Additional info

Comment 1 Marcin Garski 2004-12-18 19:23:25 UTC
Thanks for the bug report. Red Hat Linux 8.0 is no longer maintained
by Red Hat. KPPPLoad is no longer included in current releases, either.