Bug 132676

Summary: redundant memmove ?
Product: [Fedora] Fedora Reporter: d.binderman
Component: kdenetworkAssignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-09-16 12:19:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description d.binderman 2004-09-15 18:57:07 UTC
Description of problem:


I just tried to compile package kdenetwork-3.2.2-1 from
Redhat Fedora Core 3 Test 1.

The compiler said

servercontroller.cpp:542: warning: statement has no effect

The source code is

    memmove(new_s, new_s, strlen(new_s)); // See above for strlen()

Copy a bunch of bytes from one place to the same place doesn't
have much point. Suggest delete code.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Than Ngo 2004-09-16 12:19:27 UTC
It looks like a cut and paste bug. it's fixed in kdenetwork-3.3.0-2.
Thanks for your report.