From 26917d69c4da6a110db02b120133c36579fbb17c Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Sun, 9 Sep 2012 22:23:36 +0200 Subject: Add unlikely --- poppler/Gfx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poppler/Gfx.cc b/poppler/Gfx.cc index 661ec3d9..4e663b43 100644 --- a/poppler/Gfx.cc +++ b/poppler/Gfx.cc @@ -1671,7 +1671,7 @@ void Gfx::opSetStrokeColorN(Object args[], int numArgs) { state->setStrokeColor(&color); out->updateStrokeColor(state); } - if (numArgs <= 0) { + if (unlikely(numArgs <= 0)) { error(errSyntaxError, getPos(), "Incorrect number of arguments in 'SCN' command"); return; } -- cgit v1.2.3