Skip to content
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

Fixed code warnings #9

Merged
merged 5 commits into from
Jan 25, 2023
Merged

Fixed code warnings #9

merged 5 commits into from
Jan 25, 2023

Conversation

nmoinvaz
Copy link
Owner

No description provided.

@nmoinvaz nmoinvaz added the warnings fix Fixes to compiler warnings label Jan 25, 2023
@codecov
Copy link

codecov bot commented Jan 25, 2023

Codecov Report

Merging #9 (4d6c15b) into master (69c9a90) will decrease coverage by 0.02%.
The diff coverage is 23.80%.

❗ Current head 4d6c15b differs from pull request most recent head 5e5ab5b. Consider uploading reports for the commit 5e5ab5b to get more accurate results

@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
- Coverage   52.25%   52.24%   -0.02%     
==========================================
  Files          53       53              
  Lines        4340     4341       +1     
  Branches     1020     1020              
==========================================
  Hits         2268     2268              
- Misses       1439     1440       +1     
  Partials      633      633              
Flag Coverage Δ
macos 50.62% <33.33%> (-0.07%) ⬇️
ubuntu 43.17% <33.33%> (+0.07%) ⬆️
ubuntu_curl 43.36% <33.33%> (ø)
windows 54.61% <23.80%> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
execute_wsh.c 52.50% <0.00%> (ø)
execute_wsh_site.h 35.21% <0.00%> (ø)
test/test_fetch.cc 64.28% <100.00%> (ø)
test/test_wpad.cc 63.33% <100.00%> (+1.26%) ⬆️
threadpool_winxp.c 80.40% <100.00%> (ø)
util.c 76.99% <0.00%> (-0.32%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@@ -91,7 +91,7 @@ static HRESULT STDMETHODCALLTYPE active_script_site_on_script_error(IActiveScrip
// Print exception information to log
HRESULT result = IActiveScriptError_GetExceptionInfo(error, &excep_info);
if (FAILED(result)) {
LOG_ERROR("Failed to get active script error (0x%08x)\n", result);
LOG_ERROR("Failed to get active script error (0x%08lx)\n", result);
Copy link
Collaborator

@sergio-nsk sergio-nsk Jan 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't use PRI* format specifiers?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They don't have lx only llx

test/test_wpad.cc Outdated Show resolved Hide resolved
@nmoinvaz nmoinvaz merged commit bcabafd into master Jan 25, 2023
@nmoinvaz nmoinvaz deleted the nathan/fix-warnings branch January 25, 2023 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
warnings fix Fixes to compiler warnings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants