summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:49 +0900
commit0d584916ac41caa55e959136207c4c96357639a2 (patch)
tree1c367ed9b34f6ab81d5948914138bf0e42c47057
parenta400f01e536f4c100c01dde635e1ad4af3aece14 (diff)
downloadkdiff3-0d584916ac41caa55e959136207c4c96357639a2.tar.gz
kdiff3-0d584916ac41caa55e959136207c4c96357639a2.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--src/gnudiff_analyze.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gnudiff_analyze.cpp b/src/gnudiff_analyze.cpp
index ea49b4e..0661a00 100644
--- a/src/gnudiff_analyze.cpp
+++ b/src/gnudiff_analyze.cpp
@@ -469,7 +469,7 @@ void GnuDiff::discard_confusing_lines (struct file_data filevec[])
for (f = 0; f < 2; f++)
{
lin end = filevec[f].buffered_lines;
- register char *discards = discarded[f];
+ char *discards = discarded[f];
for (i = 0; i < end; i++)
{
@@ -479,7 +479,7 @@ void GnuDiff::discard_confusing_lines (struct file_data filevec[])
else if (discards[i] != 0)
{
/* We have found a nonprovisional discard. */
- register lin j;
+ lin j;
lin length;
lin provisional = 0;
@@ -511,7 +511,7 @@ void GnuDiff::discard_confusing_lines (struct file_data filevec[])
}
else
{
- register lin consec;
+ lin consec;
lin minimum = 1;
lin tem = length >> 2;