php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6752 snmp.c: void function cannot return value
Submitted: 2000-09-14 04:20 UTC Modified: 2000-09-14 04:22 UTC
From: Wolfram dot Schmidt at iao dot fhg dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.2 OS: Solaris 2.6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: Wolfram dot Schmidt at iao dot fhg dot de
New email:
PHP Version: OS:

 

 [2000-09-14 04:20 UTC] Wolfram dot Schmidt at iao dot fhg dot de
Error messages:

"snmp.c", line 350: void function cannot return value
"snmp.c", line 357: void function cannot return value

The error message seems to be correct.

% grep -n php_snmp snmp.c
24:#include "php_snmp.h"
72:void php_snmp(INTERNAL_FUNCTION_PARAMETERS, int st);
103:/* THREAD_LS snmp_module php_snmp_module; - may need one of these at some point */
131:void php_snmp(INTERNAL_FUNCTION_PARAMETERS, int st) {
343:    php_snmp(INTERNAL_FUNCTION_PARAM_PASSTHRU,1);
350:    return php_snmp(INTERNAL_FUNCTION_PARAM_PASSTHRU,2);
357:    return php_snmp(INTERNAL_FUNCTION_PARAM_PASSTHRU,3);
383:    php_snmp(INTERNAL_FUNCTION_PARAM_PASSTHRU,11);
% 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-14 04:22 UTC] andrei@php.net
Fixed in CVS - thanks.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Jun 28 08:00:01 2026 UTC