Red Hat Bugzilla – Bug 132676
redundant memmove ?
Last modified: 2007-11-30 17:10:49 EST
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):
Steps to Reproduce:
It looks like a cut and paste bug. it's fixed in kdenetwork-3.3.0-2.
Thanks for your report.