Issue #3010 has been updated by dillon.

Status changed from New to Closed

Clean up the code.  None of these created any actual bug in the world build, 
but the code constructions were wrong.  hammer1 is not used in libstand.  And 
the *ptr++ in rsaencpwd.c was supposed to be ptr++, so the original code 
actually worked even if it had the extra '*' prefix.

Fix committed by Matt

----------------------------------------
Bug #3010: lib/libstand& lib/libtelnet: 3 problems
http://bugs.dragonflybsd.org/issues/3010#change-13124

* Author: dcb
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
1:

dragonfly/lib/libstand/hammer1.c:932]: (error) printf format string requires 3 
parameters but only 2 are given.

Source code is

    printf("hammer_open %s %p %ld\n", path, f);

2.

[dragonfly/lib/libtelnet/rsaencpwd.c:336]: (warning) Ineffective statement 
similar to '*A++;'. Did you intend to write '(*A)++;'?

3.

[dragonfly/lib/libtelnet/rsaencpwd.c:344]: (warning) Ineffective statement 
similar to '*A++;'. Did you intend to write '(*A)++;'?

Source code is

       *ptr++;




-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://bugs.dragonflybsd.org/my/account

Reply via email to