Project

General

Profile

Actions

Bug #3013

closed

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

Added by dcb over 7 years ago. Updated over 7 years ago.

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

0%

Estimated time:

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.

Actions

Also available in: Atom PDF