about summary refs log tree commit diff
path: root/src/platform/nmp-object.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2018-05-11 22:09:26 +0200
committerMichael Biebl <biebl@debian.org>2018-05-11 22:09:26 +0200
commit341d403947279cd347ebd975cae8977703c0b1f3 (patch)
tree34fa6425901e37182b353e7c95dd1d1ec8bc41ec /src/platform/nmp-object.h
parent962a081193fcc84bbcead3dac6ebe36ccf4415ed (diff)
parentee9c73a923909e23a649407be77e25235d769e25 (diff)
Update upstream source from tag 'upstream/1.10.8'
Update to upstream version '1.10.8'
with Debian dir 3c3431643bdd2871afa3e1131ed2320f988f564d
Diffstat (limited to 'src/platform/nmp-object.h')
-rw-r--r--src/platform/nmp-object.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/platform/nmp-object.h b/src/platform/nmp-object.h
index e3862f2d..e17b17b0 100644
--- a/src/platform/nmp-object.h
+++ b/src/platform/nmp-object.h
@@ -457,11 +457,10 @@ nmp_object_ref (const NMPObject *obj)
 	return (const NMPObject *) nm_dedup_multi_obj_ref ((const NMDedupMultiObj *) obj);
 }
 
-static inline const NMPObject *
+static inline void
 nmp_object_unref (const NMPObject *obj)
 {
 	nm_dedup_multi_obj_unref ((const NMDedupMultiObj *) obj);
-	return NULL;
 }
 
 #define nm_clear_nmp_object(ptr) \