From 821a83dbe7cba700cd57da95bf981850118f369e Mon Sep 17 00:00:00 2001 From: ps154918 Date: Thu, 23 Mar 2006 10:15:31 -0800 Subject: 6349317 The fruadm utility needs significant cleanup 6354980 libfru PayloadReader::getOffsetIntoRecord reaches end of method without returning a value --- usr/src/lib/libfru/libfru/PayloadReader.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'usr/src/lib/libfru') diff --git a/usr/src/lib/libfru/libfru/PayloadReader.cc b/usr/src/lib/libfru/libfru/PayloadReader.cc index 60a347f31d..892c7b93a3 100644 --- a/usr/src/lib/libfru/libfru/PayloadReader.cc +++ b/usr/src/lib/libfru/libfru/PayloadReader.cc @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -106,7 +105,7 @@ PayloadReader::getOffsetIntoRecord(fru_regdef_t *recDef, (char *)recDef->enumTable[i].text); rc += tmpDef->payloadLen; } - + return(0); } // =========================================================================== -- cgit v1.2.3