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
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
#1
Updated by Marko Lindqvist about 1 year ago
- File 0026-entry_type-Return-new-ENTRY_ILLEGAL-value-on-error.patch 0026-entry_type-Return-new-ENTRY_ILLEGAL-value-on-error.patch added
- File 0016-entry_type-Return-new-ENTRY_ILLEGAL-value-on-error.patch 0016-entry_type-Return-new-ENTRY_ILLEGAL-value-on-error.patch added
- File 0010-entry_type-Return-new-ENTRY_ILLEGAL-value-on-error.patch 0010-entry_type-Return-new-ENTRY_ILLEGAL-value-on-error.patch added
- Status changed from New to Resolved
- Sprint/Milestone set to 2.6.2
#2
Updated by Marko Lindqvist about 1 year ago
No caller is (or was) checking if error is returned. They are checking for specific legal values only.
#3
Updated by Marko Lindqvist about 1 year ago
- Status changed from Resolved to Closed
- Assignee set to Marko Lindqvist