Project

General

Profile

Actions

Bug #3013

closed

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

Added by dcb over 4 years ago. Updated about 4 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 #1

Updated by swildner about 4 years ago

  • Status changed from New to Closed

Fix pushed.

Actions

Also available in: Atom PDF