[DragonFlyBSD - Bug #3013] (Closed) lib/libpuffs/requests.c: 2* possible bad assert ?
bugtracker-admin at leaf.dragonflybsd.org
bugtracker-admin at leaf.dragonflybsd.org
Sat Jul 29 01:28:02 PDT 2017
Issue #3013 has been updated by swildner.
Status changed from New to Closed
Fix pushed.
----------------------------------------
Bug #3013: lib/libpuffs/requests.c: 2* possible bad assert ?
http://bugs.dragonflybsd.org/issues/3013#change-13193
* Author: dcb
* Status: Closed
* Priority: Normal
* Assignee:
* Category:
* Target version:
----------------------------------------
1.
lib/libpuffs/requests.c:207]: (warning) Assert statement modifies 'winlen'.
Source code is
assert(winlen = sizeof(struct puffs_req));
Maybe better code
assert(winlen == sizeof(struct puffs_req));
2.
lib/libpuffs/requests.c:222]: (warning) Assert statement modifies 'winlen'.
Duplicate.
--
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
More information about the Bugs
mailing list