diff options
author | Gisle Vanem <gisle.vanem@gmail.com> | 2019-12-18 14:09:29 -0500 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2019-12-18 14:10:23 -0500 |
commit | ac7b1fb10cbc82d04371ee5f6ab406968dcec029 (patch) | |
tree | 093f218725d87e5103c2e8042f1b774edf817515 /docs | |
parent | 23e4d98e7e0e01e79cd39361b23495dfeac4e4c4 (diff) |
strerror: Fix compiler warning "empty expression"
- Remove the final semi-colon in the SEC2TXT() macro definition.
Before: #define SEC2TXT(sec) case sec: txt = #sec; break;
After: #define SEC2TXT(sec) case sec: txt = #sec; break
Prior to this change SEC2TXT(foo); would generate break;; which caused
the empty expression warning.
Ref: https://github.com/curl/curl/commit/5b22e1a#r36458547
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions