summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2010-10-23 22:59:50 +0100
committerAlbert Astals Cid <aacid@kde.org>2010-10-23 23:00:50 +0100
commitc081ad0609cc27f7b917dd73411263f8d583d4ac (patch)
treeac0a46d4344d48c9b274cb5dbd952b5eb35e2d08
parent72ed1b206c2ca3640dbc76a7852b9208df688fe9 (diff)
add unlikely marker
-rw-r--r--poppler/Decrypt.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/poppler/Decrypt.cc b/poppler/Decrypt.cc
index bcba7678..2373a66a 100644
--- a/poppler/Decrypt.cc
+++ b/poppler/Decrypt.cc
@@ -353,7 +353,7 @@ static void rc4InitKey(Guchar *key, int keyLen, Guchar *state) {
for (i = 0; i < 256; ++i)
state[i] = i;
- if (keyLen == 0)
+ if (unlikely(keyLen == 0))
return;
index1 = index2 = 0;