Commit 1aa8cb9
committed
attribute: Fix error handling in constructor
Don't use assert to check return values in this (not performance
critical) code, but always check and abort on failure. Fixes
a warning about unread variable, but also is the right way to handle
error checking.
Signed-off-by: Brian Barrett <bbarrett@amazon.com>1 parent 743e190 commit 1aa8cb9
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
594 | 594 | | |
595 | 595 | | |
596 | 596 | | |
597 | | - | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
598 | 600 | | |
599 | 601 | | |
600 | 602 | | |
| |||
615 | 617 | | |
616 | 618 | | |
617 | 619 | | |
618 | | - | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
619 | 623 | | |
620 | | - | |
| 624 | + | |
621 | 625 | | |
622 | 626 | | |
623 | 627 | | |
| |||
0 commit comments