diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-10 20:52:13 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-10 20:52:13 +0200 |
commit | d4a781817cbe1c6168e0687aea968b7a6f348abe (patch) | |
tree | 7981bfe79edf66d9e296b28e90323d04f7287a48 /plugins/check_http.c | |
parent | cfb50add532c1b5c80ea8214340b0a908a7fab65 (diff) | |
download | monitoring-plugins-d4a781817cbe1c6168e0687aea968b7a6f348abe.tar.gz |
Fix GCC's -Wuninitialized warnings
Fix the issues found by GCC when the -Wuninitialized flag is specified.
Diffstat (limited to 'plugins/check_http.c')
-rw-r--r-- | plugins/check_http.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c index c44bb3ac..ecd832f8 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c | |||
@@ -855,18 +855,18 @@ check_http (void) | |||
855 | char *full_page_new; | 855 | char *full_page_new; |
856 | char *buf; | 856 | char *buf; |
857 | char *pos; | 857 | char *pos; |
858 | long microsec; | 858 | long microsec = 0L; |
859 | double elapsed_time; | 859 | double elapsed_time = 0.0; |
860 | long microsec_connect; | 860 | long microsec_connect = 0L; |
861 | double elapsed_time_connect; | 861 | double elapsed_time_connect = 0.0; |
862 | long microsec_ssl; | 862 | long microsec_ssl = 0L; |
863 | double elapsed_time_ssl; | 863 | double elapsed_time_ssl = 0.0; |
864 | long microsec_firstbyte; | 864 | long microsec_firstbyte = 0L; |
865 | double elapsed_time_firstbyte; | 865 | double elapsed_time_firstbyte = 0.0; |
866 | long microsec_headers; | 866 | long microsec_headers = 0L; |
867 | double elapsed_time_headers; | 867 | double elapsed_time_headers = 0.0; |
868 | long microsec_transfer; | 868 | long microsec_transfer = 0L; |
869 | double elapsed_time_transfer; | 869 | double elapsed_time_transfer = 0.0; |
870 | int page_len = 0; | 870 | int page_len = 0; |
871 | int result = STATE_OK; | 871 | int result = STATE_OK; |
872 | 872 | ||