Closed Yhg1s closed 23 years ago
Fixes a couple of the gcc -Wall warnings, those in classobject.c and object.c, and those in socketmodule.c when compiling with SSL support. Mostly removal of unused code, plus an appropriately placed #ifdef.
Last two hunks updated. Shouldn't have failed, except for some offset, but it was a CVS diff -- it requires GNU patch 2.5 with 'POSIXLY_CORRECT' set, as environment variable. If you don't set it, it can't find files in different directories. This patch only touches one directory, though, so it should apply cleanly if applied inside Objects/
Checked in by Skip (who probably came up with the same patches himself, since he didn't close the patch).
Checked in by Skip (who probably came up with the same patches himself, since he didn't close the patch).
Please resubmit... the patch doesn't apply cleanly. I've only checked in the first hunk of the socketmodule.c patch.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields: ```python assignee = 'https://github.com/smontanaro' closed_at =
created_at =
labels = []
title = 'Fix -Wall-warnings in socket, classobject.c and object.c'
updated_at =
user = 'https://github.com/Yhg1s'
```
bugs.python.org fields:
```python
activity =
actor = 'effbot'
assignee = 'skip.montanaro'
closed = True
closed_date = None
closer = None
components = ['None']
creation =
creator = 'twouters'
dependencies = []
files = ['2533']
hgrepos = []
issue_num = 400749
keywords = ['patch']
message_count = 6.0
messages = ['33079', '33080', '33081', '33082', '33083', '33084']
nosy_count = 4.0
nosy_names = ['lemburg', 'effbot', 'twouters', 'skip.montanaro']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue400749'
versions = []
```