Resolve maintainer-check and maintainer-clang issues

This commit is contained in:
Mr-Dave
2025-02-06 14:34:50 -07:00
parent 0163596f0a
commit 17dfbeeeed
3 changed files with 4 additions and 2 deletions

View File

@@ -822,7 +822,7 @@ void cls_camera::init_cleandir_default()
cleandir->dur_unit = "d";
}
if ((cleandir->dur_val == 0 )) {
if (cleandir->dur_val == 0 ) {
MOTION_LOG(ERR, TYPE_ALL, NO_ERRNO
,_("Invalid clean directory duration number : %d")
,cleandir->dur_val);

View File

@@ -212,7 +212,6 @@ class cls_camera {
cls_v4l2cam *v4l2cam;
cls_libcam *libcam;
pthread_t thread_id;
int track_posx;
int track_posy;
int threshold_maximum;

View File

@@ -1004,6 +1004,9 @@ void cls_dbse::filelist_get(std::string sql, vec_files &p_flst)
sqlite3db_filelist(sql);
}
#endif
#ifndef HAVE_DBSE
(void)sql;
#endif
for (indx=0;indx<filelist.size();indx++){
p_flst.push_back(filelist[indx]);
}