diff --git a/interfaces/kits/js/BUILD.gn b/interfaces/kits/js/BUILD.gn index ed6253eb5d44bd68cc63f7ce2b538c3d3a483f7b..c9800ef93f1e49907ca8bf3f4e91166eb1f5cb46 100644 --- a/interfaces/kits/js/BUILD.gn +++ b/interfaces/kits/js/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. +# Copyright (c) 2021-2022 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/interfaces/kits/js/src/file_manager_napi.cpp b/interfaces/kits/js/src/file_manager_napi.cpp index 73a1a9e47d238cc38be4c25e4bbfc7ec7e3bb799..1aa3447c6114ceb32ee6eea3a1b6f644d90cce35 100644 --- a/interfaces/kits/js/src/file_manager_napi.cpp +++ b/interfaces/kits/js/src/file_manager_napi.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Huawei Device Co., Ltd. + * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/services/include/storage_manager_inf.h b/services/include/storage_manager_inf.h index 061fa6c67e987b21c11dc4a755456ed475e6c278..4f294f16092a418c3a42a8b3351ea262d08fce4f 100644 --- a/services/include/storage_manager_inf.h +++ b/services/include/storage_manager_inf.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Huawei Device Co., Ltd. + * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/services/src/fileoper/ext_storage/storage_manager_inf.cpp b/services/src/fileoper/ext_storage/storage_manager_inf.cpp index fc14f55032f4d634b89bf405ffcd60d53b863fda..02481edfd3ece04e0a94196ae11b68fdcad631d9 100644 --- a/services/src/fileoper/ext_storage/storage_manager_inf.cpp +++ b/services/src/fileoper/ext_storage/storage_manager_inf.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Huawei Device Co., Ltd. + * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/services/src/fileoper/media_file_oper.cpp b/services/src/fileoper/media_file_oper.cpp index 4fc457912622b02a1005b401c6b5e6c2077fce49..c93f6ccb6f6c1f6cbe6a79f3e91ebab73bfa3fe9 100644 --- a/services/src/fileoper/media_file_oper.cpp +++ b/services/src/fileoper/media_file_oper.cpp @@ -70,7 +70,7 @@ int MediaFileOper::OperProcess(uint32_t code, MessageParcel &data, MessageParcel break; } default: { - DEBUG_LOG("not valid code %{public}d.", code); + DEBUG_LOG("not valid code %{public}u.", code); break; } } @@ -125,6 +125,7 @@ int MediaFileOper::ListFile(const string &type, const string &path, int offset, int MediaFileOper::Mkdir(const string &name, const string &path) const { + (void)name; DEBUG_LOG("MediaFileOper::mkdir path %{public}s.", path.c_str()); return SUCCESS; } diff --git a/services/src/fileoper/media_file_utils.cpp b/services/src/fileoper/media_file_utils.cpp index 36fa68bf3c66e818f1a3e1613b272c33650d1e8b..dcdd31e4407108f83d212b6098f2b3440a90a9c7 100644 --- a/services/src/fileoper/media_file_utils.cpp +++ b/services/src/fileoper/media_file_utils.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Huawei Device Co., Ltd. + * Copyright (C) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at