Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Silenced Warnings #122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mephistolist wants to merge 4 commits into Soviet-Linux:main
base: main
Choose a base branch
Loading
from mephistolist:main
Open

Conversation

@mephistolist
Copy link
Contributor

@mephistolist mephistolist commented Nov 15, 2024

Silenced the following errors:

src/create.c:35:89: warning: unused parameter ‘in_format’ [-Wunused-parameter]
35 | _from_source(const char* src_path, const char* bin_path, const char* in_format, const char* out_format)
| ~~~~~~~~~~~~^~~~~~~~~

src/create.c:35:112: warning: unused parameter ‘out_format’ [-Wunused-parameter]
35 | * src_path, const char* bin_path, const char* in_format, const char* out_format)
| ~~~~~~~~~~~~^~~~~~~~~~

src/install.c:43:56: warning: unused parameter ‘as_dep’ [-Wunused-parameter]
43 | int f_install_package_source(const char* spm_path, int as_dep, char* repo) {
| ~~~~^~~~~~

src/install.c:313:57: warning: unused parameter ‘as_dep’ [-Wunused-parameter]
313 | int install_package_binary(const char* archivePath, int as_dep, const char* repo) {
| ~~~~^~~~~~

src/make.c:216:47: warning: unused parameter ‘package_dir’ [-Wunused-parameter]
216 | int exec_special(const char* cmd, const char* package_dir) {
| ~~~~~~~~~~~~^~~~~~~~~~~

src/remove.c:24:53: warning: unused parameter ‘sb’ [-Wunused-parameter]
24 | int unlink_cb(const char *fpath, const struct stat *sb, int typeflag, struct FTW *ftwbuf)
| ~~~~~~~~~~~~~~~~~~~^~
src/remove.c:24:61: warning: unused parameter ‘typeflag’ [-Wunused-parameter]
24 | int unlink_cb(const char *fpath, const struct stat *sb, int typeflag, struct FTW *ftwbuf)
| ~~~~^~~~~~~~
src/remove.c:24:83: warning: unused parameter ‘ftwbuf’ [-Wunused-parameter]
24 | k_cb(const char *fpath, const struct stat *sb, int typeflag, struct FTW *ftwbuf)
| ~~~~~~~~~~~~^~~~~~

Silenced these errors:
src/create.c:35:89: warning: unused parameter ‘in_format’ [-Wunused-parameter]
 35 | _from_source(const char* src_path, const char* bin_path, const char* in_format, const char* out_format)
src/create.c:35:112: warning: unused parameter ‘out_format’ [-Wunused-parameter]
 35 | * src_path, const char* bin_path, const char* in_format, const char* out_format)
 | ~~~~~~~~~~~~^~~~~~~~~~
src/install.c:43:56: warning: unused parameter ‘as_dep’ [-Wunused-parameter]
 43 | int f_install_package_source(const char* spm_path, int as_dep, char* repo) {
 | ~~~~^~~~~~
src/install.c:313:57: warning: unused parameter ‘as_dep’ [-Wunused-parameter]
 313 | int install_package_binary(const char* archivePath, int as_dep, const char* repo) {
 | ~~~~^~~~~~
Silenced the following warning:
src/make.c:216:47: warning: unused parameter ‘package_dir’ [-Wunused-parameter]
 216 | int exec_special(const char* cmd, const char* package_dir) {
 | ~~~~~~~~~~~~^~~~~~~~~~~
Silenced the following warnings:
src/remove.c:24:53: warning: unused parameter ‘sb’ [-Wunused-parameter]
 24 | int unlink_cb(const char *fpath, const struct stat *sb, int typeflag, struct FTW *ftwbuf)
 | ~~~~~~~~~~~~~~~~~~~^~
src/remove.c:24:61: warning: unused parameter ‘typeflag’ [-Wunused-parameter]
 24 | int unlink_cb(const char *fpath, const struct stat *sb, int typeflag, struct FTW *ftwbuf)
 | ~~~~^~~~~~~~
src/remove.c:24:83: warning: unused parameter ‘ftwbuf’ [-Wunused-parameter]
 24 | k_cb(const char *fpath, const struct stat *sb, int typeflag, struct FTW *ftwbuf)
 | ~~~~~~~~~~~~^~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /