Skip to content

Commit

Permalink
Suppress compile warnings, version 1.1.28.3
Browse files Browse the repository at this point in the history
  • Loading branch information
huitema committed Nov 25, 2024
1 parent 9cb0f1c commit 773688e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 24 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ else()
endif()

project(picoquic
VERSION 1.1.28.2
VERSION 1.1.28.3
DESCRIPTION "picoquic library"
LANGUAGES C CXX)

Expand Down
2 changes: 1 addition & 1 deletion picoquic/picoquic.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
extern "C" {
#endif

#define PICOQUIC_VERSION "1.1.28.2"
#define PICOQUIC_VERSION "1.1.28.3"
#define PICOQUIC_ERROR_CLASS 0x400
#define PICOQUIC_ERROR_DUPLICATE (PICOQUIC_ERROR_CLASS + 1)
#define PICOQUIC_ERROR_AEAD_CHECK (PICOQUIC_ERROR_CLASS + 3)
Expand Down
23 changes: 1 addition & 22 deletions picoquictest/skip_frame_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -1495,27 +1495,6 @@ picoquic_cnx_t * frames_format_test_get_cnx(picoquic_quic_t * qclient, struct so
DBG_PRINTF("%s", "Cannot create QUIC CNX context\n");
}
else {
int do_not_detect_spurious = 0;
int is_preemptive_needed = 0;
int no_need_to_repeat = 0;
int c_ret = 0;
picoquic_packet_type_enum p_type;

switch (epoch) {
case picoquic_epoch_initial:
p_type = picoquic_packet_initial;
break;
case picoquic_epoch_0rtt:
p_type = picoquic_packet_0rtt_protected;
break;
case picoquic_epoch_handshake:
p_type = picoquic_packet_handshake;
break;
default:
p_type = picoquic_packet_1rtt_protected;
break;
}

parse_test_packet_cnx_fix(cnx, simulated_time, epoch, mpath);
}
return cnx;
Expand Down Expand Up @@ -1584,7 +1563,7 @@ int frames_format_test()
int more_data;
uint64_t current_time = 0;
int is_pure_ack = 0;
picoquic_stream_head_t* stream;
picoquic_stream_head_t* stream = NULL;
int round;
uint64_t simulated_time = 0;
picoquic_quic_t* qclient = picoquic_create(8, NULL, NULL, NULL, NULL, NULL,
Expand Down

0 comments on commit 773688e

Please sign in to comment.