diff options
| author | yangwei <[email protected]> | 2024-07-24 12:16:12 +0800 |
|---|---|---|
| committer | yangwei <[email protected]> | 2024-07-24 12:16:12 +0800 |
| commit | 501e1517825bae220b4145e082a6358cc6f9f34d (patch) | |
| tree | dfd8c0aaea26b53d7972102c010c71973916133d /src | |
| parent | 53563c910d45a416aecff801206bae6784be6fc6 (diff) | |
🔧 build(cmake parameter): set build warning as error
Diffstat (limited to 'src')
| -rw-r--r-- | src/stellar_on_sapp/stellar_on_sapp_api.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/stellar_on_sapp/stellar_on_sapp_api.c b/src/stellar_on_sapp/stellar_on_sapp_api.c index 9a8991e..8b1f77f 100644 --- a/src/stellar_on_sapp/stellar_on_sapp_api.c +++ b/src/stellar_on_sapp/stellar_on_sapp_api.c @@ -550,14 +550,6 @@ const char *session_get0_l2_l3_hdr(struct session *sess, int session_direction, } -static const void *session_get_cached_rawpkt(struct session *sess, int session_direction) -{ - struct streaminfo *pstream=sess->pstream; - assert(pstream); - int route_direction=(session_direction==SESSION_DIRECTION_IN)?(DIR_ROUTE_UP):(DIR_ROUTE_DOWN); - return get_rawpkt_from_streaminfo(pstream, route_direction); -} - uint16_t *session_get0_segment_id_list(struct session *sess, int session_direction, size_t *sid_num) { *sid_num=0; |
