Commit 4824934
committed
http: server: gate lws_authorization_rewrite on LWS_WITH_FILE_OPS
lws_authorization_rewrite() is only called from lws_check_basic_auth(),
inside its LWS_WITH_FILE_OPS block. With basic auth enabled but file ops
disabled the function is defined but never referenced, tripping
-Wunused-function. Widen its guard to match the caller.1 parent ff4452b commit 4824934
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1300 | 1300 | | |
1301 | 1301 | | |
1302 | 1302 | | |
1303 | | - | |
| 1303 | + | |
1304 | 1304 | | |
1305 | 1305 | | |
1306 | 1306 | | |
| |||
0 commit comments