This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[pushed] Remove some trailing spaces in source.c
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 2 Jun 2014 08:41:18 -0700
- Subject: [pushed] Remove some trailing spaces in source.c
- Authentication-results: sourceware.org; auth=none
Hello,
Just some annoying trailing spaces I just happened to notice while
working on that function...
gdb/ChangeLog:
* source.c (substitute_path_rule_matches): Remove trailing spaces.
Tested on x86_64-linux. Pushed.
Thanks,
--
Joel
---
gdb/source.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/source.c b/gdb/source.c
index c77a4f4..cb05939 100644
--- a/gdb/source.c
+++ b/gdb/source.c
@@ -952,7 +952,7 @@ substitute_path_rule_matches (const struct substitute_path_rule *rule,
/* Make sure that the region in the path that matches the substitution
rule is immediately followed by a directory separator (or the end of
string character). */
-
+
if (path[from_len] != '\0' && !IS_DIR_SEPARATOR (path[from_len]))
return 0;
--
1.9.1