From 0fdc84fcddaa59bb1ad498535d2be2803db06c5b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 28 Jun 2023 09:31:15 +1000 Subject: [PATCH] Cleanup: remove incorrect/unhelpful comments --- intern/ghost/intern/GHOST_SystemWayland.cc | 1 - source/blender/blenloader/intern/versioning_legacy.c | 1 - source/blender/windowmanager/WM_api.h | 1 - source/blender/windowmanager/WM_keymap.h | 1 - source/blender/windowmanager/WM_toolsystem.h | 1 - 5 files changed, 5 deletions(-) diff --git a/intern/ghost/intern/GHOST_SystemWayland.cc b/intern/ghost/intern/GHOST_SystemWayland.cc index eab3837ba03..6754c428f10 100644 --- a/intern/ghost/intern/GHOST_SystemWayland.cc +++ b/intern/ghost/intern/GHOST_SystemWayland.cc @@ -2444,7 +2444,6 @@ static void data_device_handle_drop(void *data, wl_data_device * /*wl_data_devic if (UNLIKELY(end == std::string::npos)) { /* Note that most well behaved file managers will add a trailing newline, * Gnome's web browser (44.3) doesn't, so support reading up until the last byte. */ - /* Account for 'CRLF' case. */ end = data.size(); } /* Account for 'CRLF' case. */ diff --git a/source/blender/blenloader/intern/versioning_legacy.c b/source/blender/blenloader/intern/versioning_legacy.c index b129c5905d4..561f8b7b7a5 100644 --- a/source/blender/blenloader/intern/versioning_legacy.c +++ b/source/blender/blenloader/intern/versioning_legacy.c @@ -1512,7 +1512,6 @@ void blo_do_versions_pre250(FileData *fd, Library *lib, Main *bmain) } } - /* updating stepsize for ghost drawing */ for (arm = bmain->armatures.first; arm; arm = arm->id.next) { bone_version_239(&arm->bonebase); if (arm->layer == 0) { diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index ca62313cc54..1c87a9ef8f4 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -14,7 +14,6 @@ * \todo document */ -/* dna-savable wmStructs here */ #include "BLI_compiler_attrs.h" #include "BLI_sys_types.h" #include "DNA_windowmanager_types.h" diff --git a/source/blender/windowmanager/WM_keymap.h b/source/blender/windowmanager/WM_keymap.h index ead7d3728c4..abac1d1b0ed 100644 --- a/source/blender/windowmanager/WM_keymap.h +++ b/source/blender/windowmanager/WM_keymap.h @@ -8,7 +8,6 @@ * \ingroup wm */ -/* dna-savable wmStructs here */ #include "BLI_utildefines.h" #include "DNA_windowmanager_types.h" #include "WM_types.h" diff --git a/source/blender/windowmanager/WM_toolsystem.h b/source/blender/windowmanager/WM_toolsystem.h index 16d4be775a8..e9985c4dad0 100644 --- a/source/blender/windowmanager/WM_toolsystem.h +++ b/source/blender/windowmanager/WM_toolsystem.h @@ -7,7 +7,6 @@ * \ingroup wm */ -/* dna-savable wmStructs here */ #include "BLI_compiler_attrs.h" #ifdef __cplusplus