summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2022-03-15 10:08:21 +0100
committermbkma <[email protected]>2022-07-22 19:08:46 +0200
commit1172680e735dcfd2e43b398233d77bef8304e5dc (patch)
treeeddc6eae255d40ea5294f317f1eee82bd528aa3d
parent6bd34181f2490f313a835ce59f82f696c42a2d0a (diff)
downloadpluma-1172680e735dcfd2e43b398233d77bef8304e5dc.tar.bz2
pluma-1172680e735dcfd2e43b398233d77bef8304e5dc.tar.xz
pluma-commands-search: 'len' is assigned a value that is never used
-rw-r--r--pluma/pluma-commands-search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pluma/pluma-commands-search.c b/pluma/pluma-commands-search.c
index b298f63f..2705d608 100644
--- a/pluma/pluma-commands-search.c
+++ b/pluma/pluma-commands-search.c
@@ -310,7 +310,7 @@ get_selected_text (GtkTextBuffer *doc,
if (!gtk_text_buffer_get_selection_bounds (doc, &start, &end))
{
if (len != NULL)
- len = 0;
+ *len = 0;
return FALSE;
}