summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorParagon Initiative Enterprises <security@paragonie.com>2017-03-13 11:50:28 -0400
committerParagon Initiative Enterprises <security@paragonie.com>2017-03-13 11:50:28 -0400
commit1ba2dbeb5f96fb6c054b01d93e94d4d2d5ea1032 (patch)
treed681891ef8fb2536a22f710444d9a8d4ab20d701
parentea670b0f8cb8468182f98776a22d8a946263e8bd (diff)
downloadrandom_compat-1ba2dbeb5f96fb6c054b01d93e94d4d2d5ea1032.zip
random_compat-1ba2dbeb5f96fb6c054b01d93e94d4d2d5ea1032.tar.gz
random_compat-1ba2dbeb5f96fb6c054b01d93e94d4d2d5ea1032.tar.bz2
Add comment, as suggested by @narfbg in previous pull request.
-rw-r--r--lib/random.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/random.php b/lib/random.php
index 656be0b..2b43f8a 100644
--- a/lib/random.php
+++ b/lib/random.php
@@ -208,7 +208,7 @@ if (!is_callable('random_bytes')) {
*/
function random_bytes($length)
{
- unset($length);
+ unset($length); // Suppress "variable not used" warnings.
throw new Exception(
'There is no suitable CSPRNG installed on your system'
);