-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added return statements after breaking asserts to avoid compiler warn…
…ings. Fixes #996.
- Loading branch information
1 parent
594a2c0
commit 36a3d23
Showing
3 changed files
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,11 +37,13 @@ package body external_string_pkg is | |
i : integer | ||
) return character is begin | ||
assert false report "EXTERNAL read_char" severity failure; | ||
return NUL; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
LarsAsplund
Author
Collaborator
|
||
end; | ||
|
||
impure function get_ptr ( | ||
id : integer | ||
) return extstring_access_t is begin | ||
assert false report "EXTERNAL get_string_ptr" severity failure; | ||
return null; | ||
end; | ||
end package body; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I think you meant null, right?