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...":https://support.plan.io/news/187

Bug #854093

closed

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

Added by Marko Lindqvist about 3 years ago. Updated about 3 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.


Files

Actions #2

Updated by Marko Lindqvist about 3 years ago

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

Actions #3

Updated by Marko Lindqvist about 3 years ago

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

Also available in: Atom PDF