aboutsummaryrefslogtreecommitdiff
path: root/lexxer.l
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-11-30 23:57:11 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-11-30 23:57:11 +0100
commitb147427aa16309657856bd9ec6ef50c60b241e18 (patch)
treeb708fe6671953b311b9a891496970caa6d927999 /lexxer.l
parent88b859c0d1a377d584bda4fb74846ec19a7b958f (diff)
downloadmig-b147427aa16309657856bd9ec6ef50c60b241e18.tar.gz
mig-b147427aa16309657856bd9ec6ef50c60b241e18.tar.bz2
mig-b147427aa16309657856bd9ec6ef50c60b241e18.zip
Make string_t always use const_string_t
This will allow to relieve constraints in callers, e.g. dir_lookup("") would otherwise produce a warning with gcc-11 since char[1024] would mean that dir_lookup would read all 1024 characters while it is not. * utils.c (UserVarQualifier): Also use const_ qualifier when type is string_t. * tests/includes/types.h (const_string_t): New type.
Diffstat (limited to 'lexxer.l')
0 files changed, 0 insertions, 0 deletions