Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix gcc errors #477

Merged
merged 3 commits into from
Jun 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fix is_cidr6_block() and is_short_range_network(). [#337](https://github.com/greenbone/gvm-libs/pull/337)
- Fix S/MIME keylist and improve error handling [#345](https://github.com/greenbone/gvm-libs/pull/345)
- Fix interrupted state by sending correct number of dead hosts. [#371](https://github.com/greenbone/gvm-libs/pull/371)
- Fix uninitialized variable error of the gcc. [#477](https://github.com/greenbone/gvm-libs/pull/477)

### Removed
- Remove parallel from target options [#347](https://github.com/greenbone/gvm-libs/pull/347)
Expand Down
4 changes: 2 additions & 2 deletions boreas/alivedetection.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ scan (alive_test_t alive_test)
int scandb_id;
gchar *scan_id;
/* Following variables are only relevant if only ICMP was chosen. */
int remaining_batch;
int prev_alive;
int remaining_batch = 0;
int prev_alive = 0;
gboolean limit_reached_handled = FALSE; /* Scan restrictions related. */

gettimeofday (&start_time, NULL);
Expand Down