Commit 2a32fe8
committed
Fix some clang-detected issues:
- cups_open didn't always preserve the errno value.
- ipp_file_t had an unused token_cb member.
- cupsOAuthGetTokens didn't check for a NULL access_expires pointer.
- ipptransform tried to continue running program after the pipe creation failed.1 parent fcc7391 commit 2a32fe8
4 files changed
Lines changed: 17 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
656 | 656 | | |
657 | 657 | | |
658 | 658 | | |
659 | | - | |
| 659 | + | |
660 | 660 | | |
661 | 661 | | |
662 | 662 | | |
| |||
1790 | 1790 | | |
1791 | 1791 | | |
1792 | 1792 | | |
| 1793 | + | |
1793 | 1794 | | |
| 1795 | + | |
1794 | 1796 | | |
1795 | 1797 | | |
1796 | 1798 | | |
| |||
1816 | 1818 | | |
1817 | 1819 | | |
1818 | 1820 | | |
| 1821 | + | |
1819 | 1822 | | |
| 1823 | + | |
1820 | 1824 | | |
1821 | 1825 | | |
1822 | 1826 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1308 | 1308 | | |
1309 | 1309 | | |
1310 | 1310 | | |
1311 | | - | |
1312 | | - | |
1313 | | - | |
1314 | | - | |
1315 | | - | |
1316 | | - | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
1317 | 1320 | | |
1318 | 1321 | | |
1319 | 1322 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2763 | 2763 | | |
2764 | 2764 | | |
2765 | 2765 | | |
2766 | | - | |
| 2766 | + | |
2767 | 2767 | | |
2768 | 2768 | | |
2769 | 2769 | | |
2770 | 2770 | | |
2771 | 2771 | | |
2772 | 2772 | | |
2773 | 2773 | | |
| 2774 | + | |
2774 | 2775 | | |
2775 | 2776 | | |
2776 | 2777 | | |
| |||
0 commit comments