Skip to content

Commit

Permalink
unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
matanbroner committed May 16, 2023
1 parent c122fd3 commit 503a14a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions 5GTC/evaluation/mptcp_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ int main(int argc, char **argv)
char* buffer = malloc(buffer_size);
// Start clock to measure time to read magic number (if downlink/echo)
struct timeval start, end;
long mtime; // elapsed time in milliseconds
gettimeofday(&start, NULL); // capture the start time

while (LOOP) {
Expand Down Expand Up @@ -288,7 +287,7 @@ int main(int argc, char **argv)
gettimeofday(&end, NULL);
double elapsed = (double)(end.tv_sec - start.tv_sec) * 1000.0;
elapsed += (double)(end.tv_usec - start.tv_usec) / 1000.0;

log_color(GREEN, "Completed upload");
char* msg = malloc(100);
sprintf(msg, "Time to upload %d bytes: %f", BYTES_WRITTEN, elapsed);
Expand Down

0 comments on commit 503a14a

Please sign in to comment.