[DragonFlyBSD - Bug #3013] (New) lib/libpuffs/requests.c: 2* possible bad assert ?
bugtracker-admin at leaf.dragonflybsd.org
bugtracker-admin at leaf.dragonflybsd.org
Tue Apr 11 11:01:28 PDT 2017
Issue #3013 has been reported by dcb.
----------------------------------------
Bug #3013: lib/libpuffs/requests.c: 2* possible bad assert ?
http://bugs.dragonflybsd.org/issues/3013
* Author: dcb
* Status: New
* 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