Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Bug #854093

entry_type() has unsigned return type, but tries to return -1 on error

Added by Marko Lindqvist almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
General
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Return type of entry_type() is 'enum entry_type', i.e., unsigned enumeration type. Yet it's supposed to return -1 on error.

History

#2 Updated by Marko Lindqvist almost 2 years ago

No caller is (or was) checking if error is returned. They are checking for specific legal values only.

#3 Updated by Marko Lindqvist almost 2 years ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF