mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	clang-tidy: muted "uninitialized pointer/field" in StringCopier
This commit is contained in:
		| @@ -55,8 +55,12 @@ class StringCopier { | ||||
|  | ||||
|  private: | ||||
|   MemoryPool* _pool; | ||||
|  | ||||
|   // These fields aren't initialized by the constructor but startString() | ||||
|   // | ||||
|   // NOLINTNEXTLINE(clang-analyzer-optin.cplusplus.UninitializedObject) | ||||
|   char* _ptr; | ||||
|   size_t _size; | ||||
|   size_t _capacity; | ||||
|   // NOLINTNEXTLINE(clang-analyzer-optin.cplusplus.UninitializedObject) | ||||
|   size_t _size, _capacity; | ||||
| }; | ||||
| }  // namespace ARDUINOJSON_NAMESPACE | ||||
|   | ||||
		Reference in New Issue
	
	Block a user