mirror of https://github.com/BOINC/boinc.git
Server: initialize struct members
found by Coverity (CIDs 27931 27957 278928)
This commit is contained in:
parent
008b1deb1e
commit
c68d906ac7
|
@ -151,9 +151,13 @@ DB_USER_SUBMIT::DB_USER_SUBMIT(DB_CONN* dc) :
|
|||
DB_STATE_COUNTS::DB_STATE_COUNTS(DB_CONN* dc) :
|
||||
DB_BASE("state_counts", dc?dc:&boinc_db){}
|
||||
DB_TRANSITIONER_ITEM_SET::DB_TRANSITIONER_ITEM_SET(DB_CONN* dc) :
|
||||
DB_BASE_SPECIAL(dc?dc:&boinc_db){}
|
||||
DB_BASE_SPECIAL(dc?dc:&boinc_db) {
|
||||
nitems_this_query = 0;
|
||||
}
|
||||
DB_VALIDATOR_ITEM_SET::DB_VALIDATOR_ITEM_SET(DB_CONN* dc) :
|
||||
DB_BASE_SPECIAL(dc?dc:&boinc_db){}
|
||||
DB_BASE_SPECIAL(dc?dc:&boinc_db) {
|
||||
nitems_this_query = 0;
|
||||
}
|
||||
DB_WORK_ITEM::DB_WORK_ITEM(DB_CONN* dc) :
|
||||
DB_BASE_SPECIAL(dc?dc:&boinc_db
|
||||
){
|
||||
|
|
|
@ -269,6 +269,7 @@ void fail(const char* msg) {
|
|||
void open_archive(const char* filename_prefix, void*& f){
|
||||
char path[MAXPATHLEN];
|
||||
char command[MAXPATHLEN+512];
|
||||
sprintf(command, "/bin/false");
|
||||
|
||||
if (daily_dir) {
|
||||
time_t time_time = time_int;
|
||||
|
|
Loading…
Reference in New Issue