summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorEKR <ekr@rtfm.com>2016-03-13 16:58:32 +0100
committerEKR <ekr@rtfm.com>2016-03-13 16:58:32 +0100
commit998822c731cc6f7dbfb0bd50acefe6dcd92a60df (patch)
treeeee0954fa21ba9501194aed6f3d87c52823f3fd9 /lib/util
parentb888fe4827c2837666b54e5a4252ce83ae85ec47 (diff)
downloadnss-hg-998822c731cc6f7dbfb0bd50acefe6dcd92a60df.tar.gz
Bug 1256630 - Fix scan-build errors. r=mt
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/verref.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/util/verref.h b/lib/util/verref.h
index 2d141bb5c..70492f04f 100644
--- a/lib/util/verref.h
+++ b/lib/util/verref.h
@@ -28,6 +28,9 @@
#endif
{
extern const char NSS_VERSION_VARIABLE[];
+#if defined(__GNUC__)
+ __attribute__((unused))
+#endif
volatile const char _nss_version_c = NSS_VERSION_VARIABLE[0];
}
#undef NSS_VERSION_VARIABLE