Skip to content

Commit 7178abc

Browse files
committed
pass lint
1 parent 06be333 commit 7178abc

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

common/lib/libprop/prop_object.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: prop_object.c,v 1.37 2025/04/24 14:24:45 christos Exp $ */
1+
/* $NetBSD: prop_object.c,v 1.38 2025/04/24 15:50:51 christos Exp $ */
22

33
/*-
44
* Copyright (c) 2006, 2007, 2025 The NetBSD Foundation, Inc.
@@ -1219,7 +1219,7 @@ _prop_object_internalize_xml(struct _prop_object_internalize_context *ctx,
12191219
*/
12201220
static prop_object_t
12211221
_prop_object_internalize_json(struct _prop_object_internalize_context *ctx,
1222-
const struct _prop_object_type_tags *initial_tag)
1222+
const struct _prop_object_type_tags *initial_tag __unused)
12231223
{
12241224
prop_object_t obj, parent_obj;
12251225
void *data, *iter;
@@ -1733,7 +1733,7 @@ prop_object_internalize_from_file(const char *fname)
17331733
}
17341734
#endif /* !_KERNEL && !_STANDALONE */
17351735

1736-
prop_format_t _prop_format_default = PROP_FORMAT_XML;
1736+
static prop_format_t _prop_format_default = PROP_FORMAT_XML;
17371737

17381738
/*
17391739
* prop_object_externalize --

common/lib/libprop/prop_string.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: prop_string.c,v 1.19 2025/04/23 02:58:52 thorpej Exp $ */
1+
/* $NetBSD: prop_string.c,v 1.20 2025/04/24 15:50:51 christos Exp $ */
22

33
/*-
44
* Copyright (c) 2006, 2020, 2025 The NetBSD Foundation, Inc.
@@ -59,8 +59,7 @@ _PROP_POOL_INIT(_prop_string_pool, sizeof(struct _prop_string), "propstng")
5959
_PROP_MALLOC_DEFINE(M_PROP_STRING, "prop string",
6060
"property string container object")
6161

62-
/* Used by prop_dictionary.c */
63-
const struct _prop_object_type_tags _prop_string_type_tags = {
62+
static const struct _prop_object_type_tags _prop_string_type_tags = {
6463
.xml_tag = "string",
6564
.json_open_tag = "\"",
6665
.json_close_tag = "\"",

0 commit comments

Comments
 (0)