Project

General

Profile

Bug #3013

lib/libpuffs/requests.c: 2* possible bad assert ?

Added by dcb 7 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
04/11/2017
Due date:
% Done:

0%


Description

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.

History

#1 Updated by swildner 4 months ago

  • Status changed from New to Closed

Fix pushed.

Also available in: Atom PDF