mirror of
https://github.com/Motion-Project/motion.git
synced 2025-12-23 23:18:21 -05:00
Resolve maintainer-check and maintainer-clang issues
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user